Interface AwsElbLoadBalancerHealthCheck.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,
,AwsElbLoadBalancerHealthCheck> SdkBuilder<AwsElbLoadBalancerHealthCheck.Builder,
,AwsElbLoadBalancerHealthCheck> SdkPojo
- Enclosing class:
AwsElbLoadBalancerHealthCheck
-
Method Summary
Modifier and TypeMethodDescriptionhealthyThreshold
(Integer healthyThreshold) The number of consecutive health check successes required before the instance is moved to the Healthy state.The approximate interval, in seconds, between health checks of an individual instance.The instance that is being checked.The amount of time, in seconds, during which no response means a failed health check.unhealthyThreshold
(Integer unhealthyThreshold) The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
healthyThreshold
The number of consecutive health check successes required before the instance is moved to the Healthy state.
- Parameters:
healthyThreshold
- The number of consecutive health check successes required before the instance is moved to the Healthy state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
The approximate interval, in seconds, between health checks of an individual instance.
- Parameters:
interval
- The approximate interval, in seconds, between health checks of an individual instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.
For the HTTP and HTTPS protocols, the target also specifies the ping path.
For the TCP protocol, the target is specified as
TCP: <port>
.For the SSL protocol, the target is specified as
SSL.<port>
.For the HTTP and HTTPS protocols, the target is specified as
<protocol>:<port>/<path to ping>
.- Parameters:
target
- The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.For the HTTP and HTTPS protocols, the target also specifies the ping path.
For the TCP protocol, the target is specified as
TCP: <port>
.For the SSL protocol, the target is specified as
SSL.<port>
.For the HTTP and HTTPS protocols, the target is specified as
<protocol>:<port>/<path to ping>
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The amount of time, in seconds, during which no response means a failed health check.
- Parameters:
timeout
- The amount of time, in seconds, during which no response means a failed health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unhealthyThreshold
The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
- Parameters:
unhealthyThreshold
- The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-