@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteTableAssociationState extends Object implements Serializable, Cloneable
Describes the state of an association between a route table and a subnet or gateway.
| Constructor and Description |
|---|
RouteTableAssociationState() |
| Modifier and Type | Method and Description |
|---|---|
RouteTableAssociationState |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the association.
|
String |
getStatusMessage()
The status message, if applicable.
|
int |
hashCode() |
void |
setState(String state)
The state of the association.
|
void |
setStatusMessage(String statusMessage)
The status message, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
RouteTableAssociationState |
withState(RouteTableAssociationStateCode state)
The state of the association.
|
RouteTableAssociationState |
withState(String state)
The state of the association.
|
RouteTableAssociationState |
withStatusMessage(String statusMessage)
The status message, if applicable.
|
public void setState(String state)
The state of the association.
state - The state of the association.RouteTableAssociationStateCodepublic String getState()
The state of the association.
RouteTableAssociationStateCodepublic RouteTableAssociationState withState(String state)
The state of the association.
state - The state of the association.RouteTableAssociationStateCodepublic RouteTableAssociationState withState(RouteTableAssociationStateCode state)
The state of the association.
state - The state of the association.RouteTableAssociationStateCodepublic void setStatusMessage(String statusMessage)
The status message, if applicable.
statusMessage - The status message, if applicable.public String getStatusMessage()
The status message, if applicable.
public RouteTableAssociationState withStatusMessage(String statusMessage)
The status message, if applicable.
statusMessage - The status message, if applicable.public String toString()
toString in class ObjectObject.toString()public RouteTableAssociationState clone()