@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerState extends Object implements Serializable, Cloneable, StructuredPojo
Information about the state of the load balancer.
Constructor and Description |
---|
LoadBalancerState() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerState |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state code.
|
String |
getReason()
A description of the state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The state code.
|
void |
setReason(String reason)
A description of the state.
|
String |
toString()
Returns a string representation of this object.
|
LoadBalancerState |
withCode(String code)
The state code.
|
LoadBalancerState |
withReason(String reason)
A description of the state.
|
public void setCode(String 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.
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.
public String getCode()
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.
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.
public LoadBalancerState withCode(String 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.
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.
public void setReason(String reason)
A description of the state.
reason
- A description of the state.public String getReason()
A description of the state.
public LoadBalancerState withReason(String reason)
A description of the state.
reason
- A description of the state.public String toString()
toString
in class Object
Object.toString()
public LoadBalancerState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.