@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancerState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
Information about the state of the load balancer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoadBalancerState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancerState.Builder |
builder() |
LoadBalancerStateEnum |
code()
The state code.
|
String |
codeAsString()
The state code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
A description of the state.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LoadBalancerState.Builder> |
serializableBuilderClass() |
LoadBalancerState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LoadBalancerStateEnum code()
The state code. The initial state of the load balancer is provisioning. After the load balancer is
fully set up and ready to route traffic, its state is active. If load balancer is routing traffic
but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer
could not be set up, its state is failed.
If the service returns an enum value that is not available in the current SDK version, code will return
LoadBalancerStateEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
provisioning. After the load
balancer is fully set up and ready to route traffic, its state is active. If load balancer
is routing traffic but does not have the resources it needs to scale, its state is
active_impaired. If the load balancer could not be set up, its state is failed.LoadBalancerStateEnumpublic final String codeAsString()
The state code. The initial state of the load balancer is provisioning. After the load balancer is
fully set up and ready to route traffic, its state is active. If load balancer is routing traffic
but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer
could not be set up, its state is failed.
If the service returns an enum value that is not available in the current SDK version, code will return
LoadBalancerStateEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
provisioning. After the load
balancer is fully set up and ready to route traffic, its state is active. If load balancer
is routing traffic but does not have the resources it needs to scale, its state is
active_impaired. If the load balancer could not be set up, its state is failed.LoadBalancerStateEnumpublic final String reason()
A description of the state.
public LoadBalancerState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>public static LoadBalancerState.Builder builder()
public static Class<? extends LoadBalancerState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.