@Stability(value=Stable) public static final class CfnVirtualNode.HealthCheckProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVirtualNode.HealthCheckProperty>
CfnVirtualNode.HealthCheckProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder healthyThreshold(Number healthyThreshold)
CfnVirtualNode.HealthCheckProperty.getHealthyThreshold()healthyThreshold - The number of consecutive successful health checks that must occur before declaring listener healthy. This parameter is required.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder intervalMillis(Number intervalMillis)
CfnVirtualNode.HealthCheckProperty.getIntervalMillis()intervalMillis - The time period in milliseconds between each health check execution. This parameter is required.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder protocol(String protocol)
CfnVirtualNode.HealthCheckProperty.getProtocol()protocol - The protocol for the health check request. This parameter is required.
If you specify grpc , then your service must conform to the GRPC Health Checking Protocol .this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder timeoutMillis(Number timeoutMillis)
CfnVirtualNode.HealthCheckProperty.getTimeoutMillis()timeoutMillis - The amount of time to wait when receiving a response from the health check, in milliseconds. This parameter is required.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder unhealthyThreshold(Number unhealthyThreshold)
CfnVirtualNode.HealthCheckProperty.getUnhealthyThreshold()unhealthyThreshold - The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy. This parameter is required.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder path(String path)
CfnVirtualNode.HealthCheckProperty.getPath()path - The destination path for the health check request.
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty.Builder port(Number port)
CfnVirtualNode.HealthCheckProperty.getPort()port - The destination port for the health check request.
This port must match the port defined in the PortMapping for the listener.this@Stability(value=Stable) public CfnVirtualNode.HealthCheckProperty build()
build in interface software.amazon.jsii.Builder<CfnVirtualNode.HealthCheckProperty>CfnVirtualNode.HealthCheckPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.