@Stability(value=Stable) public static final class EndpointGroupProps.Builder extends Object implements software.amazon.jsii.Builder<EndpointGroupProps>
EndpointGroupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public EndpointGroupProps.Builder listener(IListener listener)
EndpointGroupProps.getListener()listener - The Amazon Resource Name (ARN) of the listener. This parameter is required.this@Stability(value=Stable) public EndpointGroupProps.Builder endpointGroupName(String endpointGroupName)
EndpointGroupOptions.getEndpointGroupName()endpointGroupName - Name of the endpoint group.this@Stability(value=Stable) public EndpointGroupProps.Builder endpoints(List<? extends IEndpoint> endpoints)
EndpointGroupOptions.getEndpoints()endpoints - Initial list of endpoints for this group.this@Stability(value=Stable) public EndpointGroupProps.Builder healthCheckInterval(Duration healthCheckInterval)
EndpointGroupOptions.getHealthCheckInterval()healthCheckInterval - The time between health checks for each endpoint.
Must be either 10 or 30 seconds.this@Stability(value=Stable) public EndpointGroupProps.Builder healthCheckPath(String healthCheckPath)
EndpointGroupOptions.getHealthCheckPath()healthCheckPath - The ping path for health checks (if the protocol is HTTP(S)).this@Stability(value=Stable) public EndpointGroupProps.Builder healthCheckPort(Number healthCheckPort)
EndpointGroupOptions.getHealthCheckPort()healthCheckPort - The port used to perform health checks.this@Stability(value=Stable) public EndpointGroupProps.Builder healthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
EndpointGroupOptions.getHealthCheckProtocol()healthCheckProtocol - The protocol used to perform health checks.this@Stability(value=Stable) public EndpointGroupProps.Builder healthCheckThreshold(Number healthCheckThreshold)
EndpointGroupOptions.getHealthCheckThreshold()healthCheckThreshold - 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.this@Stability(value=Stable) public EndpointGroupProps.Builder portOverrides(List<? extends PortOverride> portOverrides)
EndpointGroupOptions.getPortOverrides()portOverrides - Override the destination ports used to route traffic to an endpoint.
Unless overridden, the port used to hit the endpoint will be the same as the port
that traffic arrives on at the listener.this@Stability(value=Stable) public EndpointGroupProps.Builder region(String region)
EndpointGroupOptions.getRegion()region - The AWS Region where the endpoint group is located.this@Stability(value=Stable) public EndpointGroupProps.Builder trafficDialPercentage(Number trafficDialPercentage)
EndpointGroupOptions.getTrafficDialPercentage()trafficDialPercentage - The percentage of traffic to send to this AWS Region.
The percentage is applied to the traffic that would otherwise have been
routed to the Region based on optimal routing. Additional traffic is
distributed to other endpoint groups for this listener.this@Stability(value=Stable) public EndpointGroupProps build()
build in interface software.amazon.jsii.Builder<EndpointGroupProps>EndpointGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.