Interface HealthCheckConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthCheckConfig.Builder,,HealthCheckConfig> SdkBuilder<HealthCheckConfig.Builder,,HealthCheckConfig> SdkPojo
- Enclosing class:
HealthCheckConfig
-
Method Summary
Modifier and TypeMethodDescriptionhealthyThresholdCount(Integer healthyThresholdCount) The number of consecutive successful health checks required before an instance is considered healthy.intervalSeconds(Integer intervalSeconds) The interval between health check probes, in seconds.The destination path for the health check request.The port to use for health check probes.The protocol to use for health check probes.The protocol to use for health check probes.statusCodeMatcher(String statusCodeMatcher) The expected HTTP status code or status code pattern from healthy instances.The timeout for each health check probe, in milliseconds.unhealthyThresholdCount(Integer unhealthyThresholdCount) The number of consecutive failed health checks required before an instance is considered unhealthy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
port
The port to use for health check probes. Valid range is 80 to 65535.
- Parameters:
port- The port to use for health check probes. Valid range is 80 to 65535.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The destination path for the health check request. Must start with
/.- Parameters:
path- The destination path for the health check request. Must start with/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol to use for health check probes.
- Parameters:
protocol- The protocol to use for health check probes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol to use for health check probes.
- Parameters:
protocol- The protocol to use for health check probes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutMs
The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.
- Parameters:
timeoutMs- The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intervalSeconds
The interval between health check probes, in seconds. Valid range is 5 to 60.
- Parameters:
intervalSeconds- The interval between health check probes, in seconds. Valid range is 5 to 60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCodeMatcher
The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example,
200), a range (for example,200-299), or a comma-separated list (for example,200,204).- Parameters:
statusCodeMatcher- The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example,200), a range (for example,200-299), or a comma-separated list (for example,200,204).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthyThresholdCount
The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.
- Parameters:
healthyThresholdCount- The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unhealthyThresholdCount
The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.
- Parameters:
unhealthyThresholdCount- The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-