@Stability(value=Stable) public static final class TcpHealthCheckOptions.Builder extends Object implements software.amazon.jsii.Builder<TcpHealthCheckOptions>
TcpHealthCheckOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TcpHealthCheckOptions |
build()
Builds the configured instance.
|
TcpHealthCheckOptions.Builder |
healthyThreshold(Number healthyThreshold)
Sets the value of
TcpHealthCheckOptions.getHealthyThreshold() |
TcpHealthCheckOptions.Builder |
interval(Duration interval)
Sets the value of
TcpHealthCheckOptions.getInterval() |
TcpHealthCheckOptions.Builder |
timeout(Duration timeout)
Sets the value of
TcpHealthCheckOptions.getTimeout() |
TcpHealthCheckOptions.Builder |
unhealthyThreshold(Number unhealthyThreshold)
Sets the value of
TcpHealthCheckOptions.getUnhealthyThreshold() |
@Stability(value=Stable) public TcpHealthCheckOptions.Builder healthyThreshold(Number healthyThreshold)
TcpHealthCheckOptions.getHealthyThreshold()healthyThreshold - The number of consecutive successful health checks that must occur before declaring listener healthy.this@Stability(value=Stable) public TcpHealthCheckOptions.Builder interval(Duration interval)
TcpHealthCheckOptions.getInterval()interval - The time period between each health check execution.this@Stability(value=Stable) public TcpHealthCheckOptions.Builder timeout(Duration timeout)
TcpHealthCheckOptions.getTimeout()timeout - The amount of time to wait when receiving a response from the health check.this@Stability(value=Stable) public TcpHealthCheckOptions.Builder unhealthyThreshold(Number unhealthyThreshold)
TcpHealthCheckOptions.getUnhealthyThreshold()unhealthyThreshold - The number of consecutive failed health checks that must occur before declaring a listener unhealthy.this@Stability(value=Stable) public TcpHealthCheckOptions build()
build in interface software.amazon.jsii.Builder<TcpHealthCheckOptions>TcpHealthCheckOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.