@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationStatus extends Object implements Serializable, Cloneable
Describes the state of a target network association.
Constructor and Description |
---|
AssociationStatus() |
Modifier and Type | Method and Description |
---|---|
AssociationStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state of the target network association.
|
String |
getMessage()
A message about the status of the target network association, if applicable.
|
int |
hashCode() |
void |
setCode(String code)
The state of the target network association.
|
void |
setMessage(String message)
A message about the status of the target network association, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
AssociationStatus |
withCode(AssociationStatusCode code)
The state of the target network association.
|
AssociationStatus |
withCode(String code)
The state of the target network association.
|
AssociationStatus |
withMessage(String message)
A message about the status of the target network association, if applicable.
|
public void setCode(String code)
The state of the target network association.
code
- The state of the target network association.AssociationStatusCode
public String getCode()
The state of the target network association.
AssociationStatusCode
public AssociationStatus withCode(String code)
The state of the target network association.
code
- The state of the target network association.AssociationStatusCode
public AssociationStatus withCode(AssociationStatusCode code)
The state of the target network association.
code
- The state of the target network association.AssociationStatusCode
public void setMessage(String message)
A message about the status of the target network association, if applicable.
message
- A message about the status of the target network association, if applicable.public String getMessage()
A message about the status of the target network association, if applicable.
public AssociationStatus withMessage(String message)
A message about the status of the target network association, if applicable.
message
- A message about the status of the target network association, if applicable.public String toString()
toString
in class Object
Object.toString()
public AssociationStatus clone()