Interface EndpointGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointGroup.Builder,
,EndpointGroup> SdkBuilder<EndpointGroup.Builder,
,EndpointGroup> SdkPojo
- Enclosing class:
EndpointGroup
-
Method Summary
Modifier and TypeMethodDescriptionendpointDescriptions
(Collection<EndpointDescription> endpointDescriptions) The list of endpoint objects.endpointDescriptions
(Consumer<EndpointDescription.Builder>... endpointDescriptions) The list of endpoint objects.endpointDescriptions
(EndpointDescription... endpointDescriptions) The list of endpoint objects.endpointGroupArn
(String endpointGroupArn) The Amazon Resource Name (ARN) of the endpoint group.endpointGroupRegion
(String endpointGroupRegion) The Amazon Web Services Region where the endpoint group is located.healthCheckIntervalSeconds
(Integer healthCheckIntervalSeconds) The time—10 seconds or 30 seconds—between health checks for each endpoint.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.healthCheckPort
(Integer healthCheckPort) The port that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.healthCheckProtocol
(String healthCheckProtocol) The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.healthCheckProtocol
(HealthCheckProtocol healthCheckProtocol) The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group.portOverrides
(Collection<PortOverride> portOverrides) Allows you to override the destination ports used to route traffic to an endpoint.portOverrides
(Consumer<PortOverride.Builder>... portOverrides) Allows you to override the destination ports used to route traffic to an endpoint.portOverrides
(PortOverride... portOverrides) Allows you to override the destination ports used to route traffic to an endpoint.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.trafficDialPercentage
(Float trafficDialPercentage) The percentage of traffic to send to an Amazon Web Services Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
endpointGroupArn
The Amazon Resource Name (ARN) of the endpoint group.
- Parameters:
endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointGroupRegion
The Amazon Web Services Region where the endpoint group is located.
- Parameters:
endpointGroupRegion
- The Amazon Web Services Region where the endpoint group is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointDescriptions
The list of endpoint objects.
- Parameters:
endpointDescriptions
- The list of endpoint objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointDescriptions
The list of endpoint objects.
- Parameters:
endpointDescriptions
- The list of endpoint objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointDescriptions
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 viaEndpointDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointDescriptions(List<EndpointDescription>)
.- Parameters:
endpointDescriptions
- a consumer that will call methods onEndpointDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 (/).
- Parameters:
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 (/).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckIntervalSeconds
The time—10 seconds or 30 seconds—between health checks for each endpoint. The default value is 30.
- Parameters:
healthCheckIntervalSeconds
- The time—10 seconds or 30 seconds—between health checks for each endpoint. The default value is 30.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPortOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportOverrides(List<PortOverride>)
.- Parameters:
portOverrides
- a consumer that will call methods onPortOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-