public static interface EndpointGroup.Builder extends SdkPojo, CopyableBuilder<EndpointGroup.Builder,EndpointGroup>
Modifier and Type | Method and Description |
---|---|
EndpointGroup.Builder |
endpointDescriptions(Collection<EndpointDescription> endpointDescriptions)
The list of endpoint objects.
|
EndpointGroup.Builder |
endpointDescriptions(Consumer<EndpointDescription.Builder>... endpointDescriptions)
The list of endpoint objects.
|
EndpointGroup.Builder |
endpointDescriptions(EndpointDescription... endpointDescriptions)
The list of endpoint objects.
|
EndpointGroup.Builder |
endpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
|
EndpointGroup.Builder |
endpointGroupRegion(String endpointGroupRegion)
The AWS Region that this endpoint group belongs.
|
EndpointGroup.Builder |
healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The elapsed time, in seconds, between health checks for each endpoint.
|
EndpointGroup.Builder |
healthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the
destination on the endpoints for health checks.
|
EndpointGroup.Builder |
healthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint
group.
|
EndpointGroup.Builder |
healthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this
endpoint group.
|
EndpointGroup.Builder |
healthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this
endpoint group.
|
EndpointGroup.Builder |
thresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to
set an unhealthy endpoint to healthy.
|
EndpointGroup.Builder |
trafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an AWS Region.
|
copy
applyMutation, build
EndpointGroup.Builder endpointGroupArn(String endpointGroupArn)
The Amazon Resource Name (ARN) of the endpoint group.
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.EndpointGroup.Builder endpointGroupRegion(String endpointGroupRegion)
The AWS Region that this endpoint group belongs.
endpointGroupRegion
- The AWS Region that this endpoint group belongs.EndpointGroup.Builder endpointDescriptions(Collection<EndpointDescription> endpointDescriptions)
The list of endpoint objects.
endpointDescriptions
- The list of endpoint objects.EndpointGroup.Builder endpointDescriptions(EndpointDescription... endpointDescriptions)
The list of endpoint objects.
endpointDescriptions
- The list of endpoint objects.EndpointGroup.Builder endpointDescriptions(Consumer<EndpointDescription.Builder>... endpointDescriptions)
The list of endpoint objects.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #endpointDescriptions(List)
.endpointDescriptions
- a consumer that will call methods on List.Builder
#endpointDescriptions(List)
EndpointGroup.Builder trafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
trafficDialPercentage
- The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other
endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
EndpointGroup.Builder healthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.
The default port is the port for the listener that this endpoint group is associated with. If the listener port is a list, Global Accelerator uses the first specified port in the list of ports.
healthCheckPort
- The port that Global Accelerator uses to perform health checks on endpoints that are part of this
endpoint group.
The default port is the port for the listener that this endpoint group is associated with. If the listener port is a list, Global Accelerator uses the first specified port in the list of ports.
EndpointGroup.Builder healthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group. The default value is TCP.
healthCheckProtocol
- The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this
endpoint group. The default value is TCP.HealthCheckProtocol
,
HealthCheckProtocol
EndpointGroup.Builder healthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group. The default value is TCP.
healthCheckProtocol
- The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this
endpoint group. The default value is TCP.HealthCheckProtocol
,
HealthCheckProtocol
EndpointGroup.Builder healthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
healthCheckPath
- If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the
destination on the endpoints for health checks. The default is slash (/).EndpointGroup.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The elapsed time, in seconds, between health checks for each endpoint. The default value is 30.
healthCheckIntervalSeconds
- The elapsed time, in seconds, between health checks for each endpoint. The default value is 30.EndpointGroup.Builder thresholdCount(Integer thresholdCount)
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
thresholdCount
- The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy,
or to set an unhealthy endpoint to healthy. The default value is 3.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.