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