@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.RouteTableAssociationStateCode
public String getState()
The state of the association.
RouteTableAssociationStateCode
public RouteTableAssociationState withState(String state)
The state of the association.
state
- The state of the association.RouteTableAssociationStateCode
public RouteTableAssociationState withState(RouteTableAssociationStateCode state)
The state of the association.
state
- The state of the association.RouteTableAssociationStateCode
public 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 Object
Object.toString()
public RouteTableAssociationState clone()