@Stability(value=Experimental) public static final class EndpointConfigurationProps.Builder extends Object implements software.amazon.jsii.Builder<EndpointConfigurationProps>
EndpointConfigurationProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EndpointConfigurationProps |
build()
Builds the configured instance.
|
EndpointConfigurationProps.Builder |
clientIpReservation(Boolean clientIpReservation)
Sets the value of
EndpointConfigurationOptions.getClientIpReservation() |
EndpointConfigurationProps.Builder |
endpointGroup(EndpointGroup endpointGroup)
Sets the value of
EndpointConfigurationProps.getEndpointGroup() |
EndpointConfigurationProps.Builder |
endpointId(String endpointId)
Sets the value of
EndpointConfigurationProps.getEndpointId() |
EndpointConfigurationProps.Builder |
weight(Number weight)
Sets the value of
EndpointConfigurationOptions.getWeight() |
@Stability(value=Experimental) public EndpointConfigurationProps.Builder endpointGroup(EndpointGroup endpointGroup)
EndpointConfigurationProps.getEndpointGroup()endpointGroup - The endopoint group reesource. This parameter is required.
[disable-awslint:ref-via-interface]this@Stability(value=Experimental) public EndpointConfigurationProps.Builder endpointId(String endpointId)
EndpointConfigurationProps.getEndpointId()endpointId - An ID for the endpoint. This parameter is required.
If the endpoint is a Network Load Balancer or Application Load Balancer,
this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address,
this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID.this@Stability(value=Experimental) public EndpointConfigurationProps.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 EndpointConfigurationProps.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 EndpointConfigurationProps build()
build in interface software.amazon.jsii.Builder<EndpointConfigurationProps>EndpointConfigurationPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.