Interface UpdateEndpointGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEndpointGroupRequest.Builder,UpdateEndpointGroupRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<UpdateEndpointGroupRequest.Builder,UpdateEndpointGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateEndpointGroupRequest
public static interface UpdateEndpointGroupRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointGroupRequest.Builder,UpdateEndpointGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateEndpointGroupRequest.BuilderendpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)The list of endpoint objects.UpdateEndpointGroupRequest.BuilderendpointConfigurations(Consumer<EndpointConfiguration.Builder>... endpointConfigurations)The list of endpoint objects.UpdateEndpointGroupRequest.BuilderendpointConfigurations(EndpointConfiguration... endpointConfigurations)The list of endpoint objects.UpdateEndpointGroupRequest.BuilderendpointGroupArn(String endpointGroupArn)The Amazon Resource Name (ARN) of the endpoint group.UpdateEndpointGroupRequest.BuilderhealthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)The time—10 seconds or 30 seconds—between each health check for an endpoint.UpdateEndpointGroupRequest.BuilderhealthCheckPath(String healthCheckPath)If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets.UpdateEndpointGroupRequest.BuilderhealthCheckPort(Integer healthCheckPort)The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderhealthCheckProtocol(String healthCheckProtocol)The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderhealthCheckProtocol(HealthCheckProtocol healthCheckProtocol)The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateEndpointGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateEndpointGroupRequest.BuilderportOverrides(Collection<PortOverride> portOverrides)Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderportOverrides(Consumer<PortOverride.Builder>... portOverrides)Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderportOverrides(PortOverride... portOverrides)Override specific listener ports used to route traffic to endpoints that are part of this endpoint group.UpdateEndpointGroupRequest.BuilderthresholdCount(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.UpdateEndpointGroupRequest.BuildertrafficDialPercentage(Float trafficDialPercentage)The percentage of traffic to send to an Amazon Web Services Region.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
endpointGroupArn
UpdateEndpointGroupRequest.Builder endpointGroupArn(String 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.
-
endpointConfigurations
UpdateEndpointGroupRequest.Builder endpointConfigurations(Collection<EndpointConfiguration> endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
- Parameters:
endpointConfigurations- The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigurations
UpdateEndpointGroupRequest.Builder endpointConfigurations(EndpointConfiguration... endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
- Parameters:
endpointConfigurations- The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigurations
UpdateEndpointGroupRequest.Builder endpointConfigurations(Consumer<EndpointConfiguration.Builder>... endpointConfigurations)
The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
This is a convenience method that creates an instance of theEndpointConfiguration.Builderavoiding the need to create one manually viaEndpointConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#endpointConfigurations(List.) - Parameters:
endpointConfigurations- a consumer that will call methods onEndpointConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#endpointConfigurations(java.util.Collection)
-
trafficDialPercentage
UpdateEndpointGroupRequest.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.
- 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
UpdateEndpointGroupRequest.Builder healthCheckPort(Integer healthCheckPort)
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If the listener port is a list of ports, Global Accelerator uses the first port in the list.
- Parameters:
healthCheckPort- The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If the listener port is a list of ports, Global Accelerator uses the first port in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckProtocol
UpdateEndpointGroupRequest.Builder healthCheckProtocol(String healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
- Parameters:
healthCheckProtocol- The protocol that Global Accelerator uses to check the health of 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,HealthCheckProtocol
-
healthCheckProtocol
UpdateEndpointGroupRequest.Builder healthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
- Parameters:
healthCheckProtocol- The protocol that Global Accelerator uses to check the health of 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,HealthCheckProtocol
-
healthCheckPath
UpdateEndpointGroupRequest.Builder healthCheckPath(String healthCheckPath)
If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
- Parameters:
healthCheckPath- If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckIntervalSeconds
UpdateEndpointGroupRequest.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
- Parameters:
healthCheckIntervalSeconds- The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thresholdCount
UpdateEndpointGroupRequest.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.
- 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
UpdateEndpointGroupRequest.Builder portOverrides(Collection<PortOverride> portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
- Parameters:
portOverrides- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portOverrides
UpdateEndpointGroupRequest.Builder portOverrides(PortOverride... portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
- Parameters:
portOverrides- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portOverrides
UpdateEndpointGroupRequest.Builder portOverrides(Consumer<PortOverride.Builder>... portOverrides)
Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
This is a convenience method that creates an instance of thePortOverride.Builderavoiding the need to create one manually viaPortOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#portOverrides(List.) - 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:
#portOverrides(java.util.Collection)
-
overrideConfiguration
UpdateEndpointGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEndpointGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-