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 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
setAdditionalInfo(String additionalInfo)
A user-defined string.void
setDate(Date dateValue)
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; useful for testing and debugging.AssociationStatus
withAdditionalInfo(String additionalInfo)
A user-defined string.AssociationStatus
withDate(Date dateValue)
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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssociationStatus clone()
-
-