Class LoadBalancerState
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
Describes the state of a Classic Load Balancer.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadBalancerState.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the load balancer.static Class<? extends LoadBalancerState.Builder>final Stringstate()One of the following load balancer states:final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
loadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
state
One of the following load balancer states:
-
Adding- The Auto Scaling instances are being registered with the load balancer. -
Added- All Auto Scaling instances are registered with the load balancer. -
InService- At least one Auto Scaling instance passed anELBhealth check. -
Removing- The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. -
Removed- All Auto Scaling instances are deregistered from the load balancer.
- Returns:
- One of the following load balancer states:
-
Adding- The Auto Scaling instances are being registered with the load balancer. -
Added- All Auto Scaling instances are registered with the load balancer. -
InService- At least one Auto Scaling instance passed anELBhealth check. -
Removing- The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. -
Removed- All Auto Scaling instances are deregistered from the load balancer.
-
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-