Class GatewayConnectorHealthCheck
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GatewayConnectorHealthCheck.Builder,GatewayConnectorHealthCheck>
The health check configuration that a gateway uses to evaluate the targets associated with a gateway connector.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe approximate amount of time, in seconds, between health checks of an individual target.final StringThe destination path for health check requests.final IntegerThe port that the gateway uses to perform health checks on the targets.The protocol that the gateway uses to perform health checks.final StringThe protocol that the gateway uses to perform health checks.final IntegerThe amount of time, in seconds, during which no response from a target means a failed health check.final IntegerThe number of consecutive successful health checks that a target must pass before the gateway considers it healthy.matcher()The HTTP or gRPC codes that indicate a successful health check response from a target.static Class<? extends GatewayConnectorHealthCheck.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
healthCheckProtocol
The protocol that the gateway uses to perform health checks.
Valid values:
-
HTTP- Health checks are performed over HTTP. -
HTTPS- Health checks are performed over HTTPS.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocolwill returnGatewayConnectorHealthCheckProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhealthCheckProtocolAsString().- Returns:
- The protocol that the gateway uses to perform health checks.
Valid values:
-
HTTP- Health checks are performed over HTTP. -
HTTPS- Health checks are performed over HTTPS.
-
- See Also:
-
-
healthCheckProtocolAsString
The protocol that the gateway uses to perform health checks.
Valid values:
-
HTTP- Health checks are performed over HTTP. -
HTTPS- Health checks are performed over HTTPS.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocolwill returnGatewayConnectorHealthCheckProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhealthCheckProtocolAsString().- Returns:
- The protocol that the gateway uses to perform health checks.
Valid values:
-
HTTP- Health checks are performed over HTTP. -
HTTPS- Health checks are performed over HTTPS.
-
- See Also:
-
-
healthCheckPort
The port that the gateway uses to perform health checks on the targets.
- Returns:
- The port that the gateway uses to perform health checks on the targets.
-
healthCheckPath
The destination path for health check requests.
- Returns:
- The destination path for health check requests.
-
healthCheckTimeoutSeconds
The amount of time, in seconds, during which no response from a target means a failed health check.
- Returns:
- The amount of time, in seconds, during which no response from a target means a failed health check.
-
healthCheckIntervalSeconds
The approximate amount of time, in seconds, between health checks of an individual target.
- Returns:
- The approximate amount of time, in seconds, between health checks of an individual target.
-
healthyThresholdCount
The number of consecutive successful health checks that a target must pass before the gateway considers it healthy.
- Returns:
- The number of consecutive successful health checks that a target must pass before the gateway considers it healthy.
-
unhealthyThresholdCount
The number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy.
- Returns:
- The number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy.
-
matcher
The HTTP or gRPC codes that indicate a successful health check response from a target.
- Returns:
- The HTTP or gRPC codes that indicate a successful health check response from a target.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GatewayConnectorHealthCheck.Builder,GatewayConnectorHealthCheck> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-