@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancerState extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
A description of the state.
|
static Class<? extends LoadBalancerState.Builder> |
serializableBuilderClass() |
LoadBalancerState.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 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 the load
balancer could not be set up, its state is failed
.LoadBalancerStateEnum
public 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 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 the load
balancer could not be set up, its state is failed
.LoadBalancerStateEnum
public String reason()
A description of the state.
public LoadBalancerState.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoadBalancerState.Builder,LoadBalancerState>
public static LoadBalancerState.Builder builder()
public static Class<? extends LoadBalancerState.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.