@Stability(value=Stable) public static final class ApplicationLoadBalancerEndpointOptions.Builder extends Object implements software.amazon.jsii.Builder<ApplicationLoadBalancerEndpointOptions>
ApplicationLoadBalancerEndpointOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationLoadBalancerEndpointOptions |
build()
Builds the configured instance.
|
ApplicationLoadBalancerEndpointOptions.Builder |
preserveClientIp(Boolean preserveClientIp)
Sets the value of
ApplicationLoadBalancerEndpointOptions.getPreserveClientIp() |
ApplicationLoadBalancerEndpointOptions.Builder |
weight(Number weight)
Sets the value of
ApplicationLoadBalancerEndpointOptions.getWeight() |
@Stability(value=Stable) public ApplicationLoadBalancerEndpointOptions.Builder preserveClientIp(Boolean preserveClientIp)
ApplicationLoadBalancerEndpointOptions.getPreserveClientIp()preserveClientIp - Forward the client IP address in an `X-Forwarded-For` header.
GlobalAccelerator will create Network Interfaces in your VPC in order
to preserve the client IP address.
Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.
this@Stability(value=Stable) public ApplicationLoadBalancerEndpointOptions.Builder weight(Number weight)
ApplicationLoadBalancerEndpointOptions.getWeight()weight - Endpoint weight across all endpoints in the group.
Must be a value between 0 and 255.this@Stability(value=Stable) public ApplicationLoadBalancerEndpointOptions build()
build in interface software.amazon.jsii.Builder<ApplicationLoadBalancerEndpointOptions>ApplicationLoadBalancerEndpointOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.