public static final class CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Builder, CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getHealthyThreshold()
The number of consecutive successful health checks that must occur before declaring the listener healthy.
|
java.lang.Number |
getIntervalMillis()
The time period in milliseconds between each health check execution.
|
java.lang.String |
getPath()
The destination path for the health check request.
|
java.lang.Number |
getPort()
The destination port for the health check request.
|
java.lang.String |
getProtocol()
The protocol for the health check request.
|
java.lang.Number |
getTimeoutMillis()
The amount of time to wait when receiving a response from the health check, in milliseconds.
|
java.lang.Number |
getUnhealthyThreshold()
The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getHealthyThreshold()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
getHealthyThreshold
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.Number getIntervalMillis()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
getIntervalMillis
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.String getProtocol()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
If you specify grpc
, then your service must conform to the GRPC Health Checking Protocol .
getProtocol
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.Number getTimeoutMillis()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
getTimeoutMillis
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.Number getUnhealthyThreshold()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
getUnhealthyThreshold
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.String getPath()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
getPath
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public final java.lang.Number getPort()
CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
This port must match the port defined in the PortMapping
for the listener.
getPort
in interface CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()