@Stability(value=Experimental) public static final class RawEndpoint.Builder extends Object implements software.amazon.jsii.Builder<RawEndpoint>
RawEndpoint.| Modifier and Type | Method and Description |
|---|---|
RawEndpoint |
build() |
static RawEndpoint.Builder |
create() |
RawEndpoint.Builder |
endpointId(String endpointId)
(experimental) Identifier of the endpoint.
|
RawEndpoint.Builder |
preserveClientIp(Boolean preserveClientIp)
(experimental) Forward the client IP address.
|
RawEndpoint.Builder |
region(String region)
(experimental) The region where this endpoint is located.
|
RawEndpoint.Builder |
weight(Number weight)
(experimental) Endpoint weight across all endpoints in the group.
|
@Stability(value=Experimental) public static RawEndpoint.Builder create()
RawEndpoint.Builder.@Stability(value=Experimental) public RawEndpoint.Builder endpointId(String endpointId)
Load balancer ARN, instance ID or EIP allocation ID.
endpointId - Identifier of the endpoint. This parameter is required.this@Stability(value=Experimental) public RawEndpoint.Builder preserveClientIp(Boolean preserveClientIp)
GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.
Only applies to Application Load Balancers and EC2 instances.
Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.
Default: true if possible and available
preserveClientIp - Forward the client IP address. This parameter is required.this@Stability(value=Experimental) public RawEndpoint.Builder region(String region)
Default: - Unknown what region this endpoint is located
region - The region where this endpoint is located. This parameter is required.this@Stability(value=Experimental) public RawEndpoint.Builder weight(Number weight)
Must be a value between 0 and 255.
Default: 128
weight - Endpoint weight across all endpoints in the group. This parameter is required.this@Stability(value=Experimental) public RawEndpoint build()
build in interface software.amazon.jsii.Builder<RawEndpoint>Copyright © 2021. All rights reserved.