Class LoadBalancerState
- java.lang.Object
-
- software.amazon.awssdk.services.autoscaling.model.LoadBalancerState
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
@Generated("software.amazon.awssdk:codegen") public final class LoadBalancerState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
Describes the state of a Classic Load Balancer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LoadBalancerState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancerState.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
loadBalancerName()
The name of the load balancer.List<SdkField<?>>
sdkFields()
static Class<? extends LoadBalancerState.Builder>
serializableBuilderClass()
String
state()
One of the following load balancer states:LoadBalancerState.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
loadBalancerName
public final String loadBalancerName()
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
state
public final String 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 anELB
health 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 anELB
health 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
public LoadBalancerState.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
-
builder
public static LoadBalancerState.Builder builder()
-
serializableBuilderClass
public static Class<? extends LoadBalancerState.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-