@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerState extends Object implements Serializable, Cloneable
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 |
setCode(LoadBalancerStateEnum code)
The state code.
|
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; useful for testing and debugging.
|
LoadBalancerState |
withCode(LoadBalancerStateEnum code)
The state code.
|
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.LoadBalancerStateEnumpublic 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.
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.LoadBalancerStateEnumpublic 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.LoadBalancerStateEnumpublic void setCode(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.
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.LoadBalancerStateEnumpublic LoadBalancerState withCode(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.
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.LoadBalancerStateEnumpublic 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 ObjectObject.toString()public LoadBalancerState clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.