@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationStateDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes the state of an association between a route table and a subnet or gateway.
| Constructor and Description |
|---|
AssociationStateDetails() |
| Modifier and Type | Method and Description |
|---|---|
AssociationStateDetails |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the association.
|
String |
getStatusMessage()
The status message, if applicable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
AssociationStateDetails |
withState(String state)
The state of the association.
|
AssociationStateDetails |
withStatusMessage(String statusMessage)
The status message, if applicable.
|
public void setState(String state)
The state of the association.
state - The state of the association.public String getState()
The state of the association.
public AssociationStateDetails withState(String state)
The state of the association.
state - The state of the association.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 AssociationStateDetails withStatusMessage(String statusMessage)
The status message, if applicable.
statusMessage - The status message, if applicable.public String toString()
toString in class ObjectObject.toString()public AssociationStateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.