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