public static interface HealthCheckPolicy.Builder extends SdkPojo, CopyableBuilder<HealthCheckPolicy.Builder,HealthCheckPolicy>
Modifier and Type | Method and Description |
---|---|
HealthCheckPolicy.Builder |
healthyThreshold(Integer healthyThreshold)
The number of consecutive successful health checks that must occur before declaring listener healthy.
|
HealthCheckPolicy.Builder |
intervalMillis(Long intervalMillis)
The time period in milliseconds between each health check execution.
|
HealthCheckPolicy.Builder |
path(String path)
The destination path for the health check request.
|
HealthCheckPolicy.Builder |
port(Integer port)
The destination port for the health check request.
|
HealthCheckPolicy.Builder |
protocol(PortProtocol protocol)
The protocol for the health check request.
|
HealthCheckPolicy.Builder |
protocol(String protocol)
The protocol for the health check request.
|
HealthCheckPolicy.Builder |
timeoutMillis(Long timeoutMillis)
The amount of time to wait when receiving a response from the health check, in milliseconds.
|
HealthCheckPolicy.Builder |
unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
|
copy
applyMutation, build
HealthCheckPolicy.Builder healthyThreshold(Integer healthyThreshold)
The number of consecutive successful health checks that must occur before declaring listener healthy.
healthyThreshold
- The number of consecutive successful health checks that must occur before declaring listener healthy.HealthCheckPolicy.Builder intervalMillis(Long intervalMillis)
The time period in milliseconds between each health check execution.
intervalMillis
- The time period in milliseconds between each health check execution.HealthCheckPolicy.Builder path(String path)
The destination path for the health check request.
path
- The destination path for the health check request.HealthCheckPolicy.Builder port(Integer port)
The destination port for the health check request.
port
- The destination port for the health check request.HealthCheckPolicy.Builder protocol(String protocol)
The protocol for the health check request.
protocol
- The protocol for the health check request.PortProtocol
,
PortProtocol
HealthCheckPolicy.Builder protocol(PortProtocol protocol)
The protocol for the health check request.
protocol
- The protocol for the health check request.PortProtocol
,
PortProtocol
HealthCheckPolicy.Builder timeoutMillis(Long timeoutMillis)
The amount of time to wait when receiving a response from the health check, in milliseconds.
timeoutMillis
- The amount of time to wait when receiving a response from the health check, in milliseconds.HealthCheckPolicy.Builder unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
unhealthyThreshold
- The number of consecutive failed health checks that must occur before declaring a virtual node
unhealthy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.