@Stability(value=Experimental) public static final class EndpointConfigurationOptions.Builder extends Object implements software.amazon.jsii.Builder<EndpointConfigurationOptions>
EndpointConfigurationOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EndpointConfigurationOptions |
build()
Builds the configured instance.
|
EndpointConfigurationOptions.Builder |
clientIpReservation(Boolean clientIpReservation)
Sets the value of
EndpointConfigurationOptions.getClientIpReservation() |
EndpointConfigurationOptions.Builder |
weight(Number weight)
Sets the value of
EndpointConfigurationOptions.getWeight() |
@Stability(value=Experimental) public EndpointConfigurationOptions.Builder clientIpReservation(Boolean clientIpReservation)
EndpointConfigurationOptions.getClientIpReservation()clientIpReservation - Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.this@Stability(value=Experimental) public EndpointConfigurationOptions.Builder weight(Number weight)
EndpointConfigurationOptions.getWeight()weight - The weight associated with the endpoint.
When you add weights to endpoints, you configure AWS Global Accelerator
to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5,
5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is
routed both to the second and third endpoints, and 6/20 is routed to the last endpoint.this@Stability(value=Experimental) public EndpointConfigurationOptions build()
build in interface software.amazon.jsii.Builder<EndpointConfigurationOptions>EndpointConfigurationOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.