@Stability(value=Experimental) public static final class EndpointGroupOptions.Builder extends Object implements software.amazon.jsii.Builder<EndpointGroupOptions>
EndpointGroupOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public EndpointGroupOptions.Builder endpointGroupName(String endpointGroupName)
EndpointGroupOptions.getEndpointGroupName()endpointGroupName - Name of the endpoint group.this@Stability(value=Experimental) public EndpointGroupOptions.Builder endpoints(List<? extends IEndpoint> endpoints)
EndpointGroupOptions.getEndpoints()endpoints - Initial list of endpoints for this group.this@Stability(value=Experimental) public EndpointGroupOptions.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=Experimental) public EndpointGroupOptions.Builder healthCheckPath(String healthCheckPath)
EndpointGroupOptions.getHealthCheckPath()healthCheckPath - The ping path for health checks (if the protocol is HTTP(S)).this@Stability(value=Experimental) public EndpointGroupOptions.Builder healthCheckPort(Number healthCheckPort)
EndpointGroupOptions.getHealthCheckPort()healthCheckPort - The port used to perform health checks.this@Stability(value=Experimental) public EndpointGroupOptions.Builder healthCheckProtocol(HealthCheckProtocol healthCheckProtocol)
EndpointGroupOptions.getHealthCheckProtocol()healthCheckProtocol - The protocol used to perform health checks.this@Stability(value=Experimental) public EndpointGroupOptions.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=Experimental) public EndpointGroupOptions.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=Experimental) public EndpointGroupOptions.Builder region(String region)
EndpointGroupOptions.getRegion()region - The AWS Region where the endpoint group is located.this@Stability(value=Experimental) public EndpointGroupOptions.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=Experimental) public EndpointGroupOptions build()
build in interface software.amazon.jsii.Builder<EndpointGroupOptions>EndpointGroupOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.