public static interface VirtualGatewayHealthCheckPolicy.Builder extends SdkPojo, CopyableBuilder<VirtualGatewayHealthCheckPolicy.Builder,VirtualGatewayHealthCheckPolicy>
| Modifier and Type | Method and Description |
|---|---|
VirtualGatewayHealthCheckPolicy.Builder |
healthyThreshold(Integer healthyThreshold)
The number of consecutive successful health checks that must occur before declaring the listener healthy.
|
VirtualGatewayHealthCheckPolicy.Builder |
intervalMillis(Long intervalMillis)
The time period in milliseconds between each health check execution.
|
VirtualGatewayHealthCheckPolicy.Builder |
path(String path)
The destination path for the health check request.
|
VirtualGatewayHealthCheckPolicy.Builder |
port(Integer port)
The destination port for the health check request.
|
VirtualGatewayHealthCheckPolicy.Builder |
protocol(String protocol)
The protocol for the health check request.
|
VirtualGatewayHealthCheckPolicy.Builder |
protocol(VirtualGatewayPortProtocol protocol)
The protocol for the health check request.
|
VirtualGatewayHealthCheckPolicy.Builder |
timeoutMillis(Long timeoutMillis)
The amount of time to wait when receiving a response from the health check, in milliseconds.
|
VirtualGatewayHealthCheckPolicy.Builder |
unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVirtualGatewayHealthCheckPolicy.Builder healthyThreshold(Integer healthyThreshold)
The number of consecutive successful health checks that must occur before declaring the listener healthy.
healthyThreshold - The number of consecutive successful health checks that must occur before declaring the listener
healthy.VirtualGatewayHealthCheckPolicy.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.VirtualGatewayHealthCheckPolicy.Builder path(String 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.
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.VirtualGatewayHealthCheckPolicy.Builder port(Integer port)
The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
port - The destination port for the health check request. This port must match the port defined in the
PortMapping for the listener.VirtualGatewayHealthCheckPolicy.Builder protocol(String protocol)
The protocol for the health check request. If you specify grpc, then your service must conform
to the GRPC Health Checking
Protocol.
protocol - The protocol for the health check request. If you specify grpc, then your service must
conform to the GRPC Health
Checking Protocol.VirtualGatewayPortProtocol,
VirtualGatewayPortProtocolVirtualGatewayHealthCheckPolicy.Builder protocol(VirtualGatewayPortProtocol protocol)
The protocol for the health check request. If you specify grpc, then your service must conform
to the GRPC Health Checking
Protocol.
protocol - The protocol for the health check request. If you specify grpc, then your service must
conform to the GRPC Health
Checking Protocol.VirtualGatewayPortProtocol,
VirtualGatewayPortProtocolVirtualGatewayHealthCheckPolicy.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.VirtualGatewayHealthCheckPolicy.Builder unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.
unhealthyThreshold - The number of consecutive failed health checks that must occur before declaring a virtual gateway
unhealthy.Copyright © 2021. All rights reserved.