@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationStatus extends Object implements Serializable, Cloneable, StructuredPojo
Describes an association status.
| Constructor and Description |
|---|
AssociationStatus() |
| Modifier and Type | Method and Description |
|---|---|
AssociationStatus |
clone() |
boolean |
equals(Object obj) |
String |
getAdditionalInfo()
A user-defined string.
|
Date |
getDate()
The date when the status changed.
|
String |
getMessage()
The reason for the status.
|
String |
getName()
The status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalInfo(String additionalInfo)
A user-defined string.
|
void |
setDate(Date date)
The date when the status changed.
|
void |
setMessage(String message)
The reason for the status.
|
void |
setName(AssociationStatusName name)
The status.
|
void |
setName(String name)
The status.
|
String |
toString()
Returns a string representation of this object.
|
AssociationStatus |
withAdditionalInfo(String additionalInfo)
A user-defined string.
|
AssociationStatus |
withDate(Date date)
The date when the status changed.
|
AssociationStatus |
withMessage(String message)
The reason for the status.
|
AssociationStatus |
withName(AssociationStatusName name)
The status.
|
AssociationStatus |
withName(String name)
The status.
|
public void setDate(Date date)
The date when the status changed.
date - The date when the status changed.public Date getDate()
The date when the status changed.
public AssociationStatus withDate(Date date)
The date when the status changed.
date - The date when the status changed.public void setName(String name)
The status.
name - The status.AssociationStatusNamepublic String getName()
The status.
AssociationStatusNamepublic AssociationStatus withName(String name)
The status.
name - The status.AssociationStatusNamepublic void setName(AssociationStatusName name)
The status.
name - The status.AssociationStatusNamepublic AssociationStatus withName(AssociationStatusName name)
The status.
name - The status.AssociationStatusNamepublic void setMessage(String message)
The reason for the status.
message - The reason for the status.public String getMessage()
The reason for the status.
public AssociationStatus withMessage(String message)
The reason for the status.
message - The reason for the status.public void setAdditionalInfo(String additionalInfo)
A user-defined string.
additionalInfo - A user-defined string.public String getAdditionalInfo()
A user-defined string.
public AssociationStatus withAdditionalInfo(String additionalInfo)
A user-defined string.
additionalInfo - A user-defined string.public String toString()
toString in class ObjectObject.toString()public AssociationStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.