Class AwsElbLoadBalancerHealthCheck
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsElbLoadBalancerHealthCheck
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>
@Generated("software.amazon.awssdk:codegen") public final class AwsElbLoadBalancerHealthCheck extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>
Contains information about the health checks that are conducted on the load balancer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsElbLoadBalancerHealthCheck.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsElbLoadBalancerHealthCheck.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerhealthyThreshold()The number of consecutive health check successes required before the instance is moved to the Healthy state.Integerinterval()The approximate interval, in seconds, between health checks of an individual instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsElbLoadBalancerHealthCheck.Builder>serializableBuilderClass()Stringtarget()The instance that is being checked.Integertimeout()The amount of time, in seconds, during which no response means a failed health check.AwsElbLoadBalancerHealthCheck.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerunhealthyThreshold()The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
healthyThreshold
public final Integer healthyThreshold()
The number of consecutive health check successes required before the instance is moved to the Healthy state.
- Returns:
- The number of consecutive health check successes required before the instance is moved to the Healthy state.
-
interval
public final Integer interval()
The approximate interval, in seconds, between health checks of an individual instance.
- Returns:
- The approximate interval, in seconds, between health checks of an individual instance.
-
target
public final 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>.- Returns:
- 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>.
-
timeout
public final Integer timeout()
The amount of time, in seconds, during which no response means a failed health check.
- Returns:
- The amount of time, in seconds, during which no response means a failed health check.
-
unhealthyThreshold
public final Integer unhealthyThreshold()
The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
- Returns:
- The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
-
toBuilder
public AwsElbLoadBalancerHealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsElbLoadBalancerHealthCheck.Builder,AwsElbLoadBalancerHealthCheck>
-
builder
public static AwsElbLoadBalancerHealthCheck.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsElbLoadBalancerHealthCheck.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-