Interface AwsElbLoadBalancerHealthCheck.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>,SdkBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>,SdkPojo
- Enclosing class:
- AwsElbLoadBalancerHealthCheck
public static interface AwsElbLoadBalancerHealthCheck.Builder extends SdkPojo, CopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsElbLoadBalancerHealthCheck.BuilderhealthyThreshold(Integer healthyThreshold)The number of consecutive health check successes required before the instance is moved to the Healthy state.AwsElbLoadBalancerHealthCheck.Builderinterval(Integer interval)The approximate interval, in seconds, between health checks of an individual instance.AwsElbLoadBalancerHealthCheck.Buildertarget(String target)The instance that is being checked.AwsElbLoadBalancerHealthCheck.Buildertimeout(Integer timeout)The amount of time, in seconds, during which no response means a failed health check.AwsElbLoadBalancerHealthCheck.BuilderunhealthyThreshold(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
healthyThreshold
AwsElbLoadBalancerHealthCheck.Builder healthyThreshold(Integer 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
AwsElbLoadBalancerHealthCheck.Builder interval(Integer 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
AwsElbLoadBalancerHealthCheck.Builder target(String 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
AwsElbLoadBalancerHealthCheck.Builder timeout(Integer 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
AwsElbLoadBalancerHealthCheck.Builder unhealthyThreshold(Integer 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.
-
-