Class AssociationStatus
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.AssociationStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AssociationStatus extends Object implements Serializable, Cloneable
Describes an association status.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssociationStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationStatusclone()booleanequals(Object obj)StringgetAdditionalInfo()A user-defined string.DategetDate()The date when the status changed.StringgetMessage()The reason for the status.StringgetName()The status.inthashCode()voidsetAdditionalInfo(String additionalInfo)A user-defined string.voidsetDate(Date dateValue)The date when the status changed.voidsetMessage(String message)The reason for the status.voidsetName(AssociationStatusName name)The status.voidsetName(String name)The status.StringtoString()Returns a string representation of this object; useful for testing and debugging.AssociationStatuswithAdditionalInfo(String additionalInfo)A user-defined string.AssociationStatuswithDate(Date dateValue)The date when the status changed.AssociationStatuswithMessage(String message)The reason for the status.AssociationStatuswithName(AssociationStatusName name)The status.AssociationStatuswithName(String name)The status.
-
-
-
Method Detail
-
setDate
public void setDate(Date dateValue)
The date when the status changed.
- Parameters:
dateValue- The date when the status changed.
-
getDate
public Date getDate()
The date when the status changed.
- Returns:
- The date when the status changed.
-
withDate
public AssociationStatus withDate(Date dateValue)
The date when the status changed.
- Parameters:
dateValue- The date when the status changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The status.
- Parameters:
name- The status.- See Also:
AssociationStatusName
-
getName
public String getName()
The status.
- Returns:
- The status.
- See Also:
AssociationStatusName
-
withName
public AssociationStatus withName(String name)
The status.
- Parameters:
name- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationStatusName
-
setName
public void setName(AssociationStatusName name)
The status.
- Parameters:
name- The status.- See Also:
AssociationStatusName
-
withName
public AssociationStatus withName(AssociationStatusName name)
The status.
- Parameters:
name- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationStatusName
-
setMessage
public void setMessage(String message)
The reason for the status.
- Parameters:
message- The reason for the status.
-
getMessage
public String getMessage()
The reason for the status.
- Returns:
- The reason for the status.
-
withMessage
public AssociationStatus withMessage(String message)
The reason for the status.
- Parameters:
message- The reason for the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAdditionalInfo
public void setAdditionalInfo(String additionalInfo)
A user-defined string.
- Parameters:
additionalInfo- A user-defined string.
-
getAdditionalInfo
public String getAdditionalInfo()
A user-defined string.
- Returns:
- A user-defined string.
-
withAdditionalInfo
public AssociationStatus withAdditionalInfo(String additionalInfo)
A user-defined string.
- Parameters:
additionalInfo- A user-defined string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssociationStatus clone()
-
-