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 Amazon Web Services Region where the endpoint group is located.
|
EndpointGroup.Builder |
healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 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 |
portOverrides(Collection<PortOverride> portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint.
|
EndpointGroup.Builder |
portOverrides(Consumer<PortOverride.Builder>... portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint.
|
EndpointGroup.Builder |
portOverrides(PortOverride... portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint.
|
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 Amazon Web Services Region.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEndpointGroup.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 Amazon Web Services Region where the endpoint group is located.
endpointGroupRegion - The Amazon Web Services Region where the endpoint group is located.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 method that creates an instance of theEndpointDescription.Builder avoiding the need
to create one manually via
EndpointDescription.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #endpointDescriptions(List.
endpointDescriptions - a consumer that will call methods on
EndpointDescription.Builder#endpointDescriptions(java.util.Collection) EndpointGroup.Builder trafficDialPercentage(Float trafficDialPercentage)
The percentage of traffic to send to an Amazon Web Services 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 Amazon Web Services 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,
HealthCheckProtocolEndpointGroup.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,
HealthCheckProtocolEndpointGroup.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 time—10 seconds or 30 seconds—between health checks for each endpoint. The default value is 30.
healthCheckIntervalSeconds - The time—10 seconds or 30 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.EndpointGroup.Builder portOverrides(Collection<PortOverride> portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
portOverrides - Allows you to override the destination ports used to route traffic to an endpoint. Using a port
override lets you map a list of external destination ports (that your users send traffic to) to a list
of internal destination ports that you want an application endpoint to receive traffic on.EndpointGroup.Builder portOverrides(PortOverride... portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
portOverrides - Allows you to override the destination ports used to route traffic to an endpoint. Using a port
override lets you map a list of external destination ports (that your users send traffic to) to a list
of internal destination ports that you want an application endpoint to receive traffic on.EndpointGroup.Builder portOverrides(Consumer<PortOverride.Builder>... portOverrides)
Allows you to override the destination ports used to route traffic to an endpoint. Using a port override lets you map a list of external destination ports (that your users send traffic to) to a list of internal destination ports that you want an application endpoint to receive traffic on.
This is a convenience method that creates an instance of thePortOverride.Builder avoiding the need to
create one manually via
PortOverride.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #portOverrides(List.
portOverrides - a consumer that will call methods on
PortOverride.Builder#portOverrides(java.util.Collection) Copyright © 2022. All rights reserved.