Class AssociationDescription
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.AssociationDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AssociationDescription extends Object implements Serializable, Cloneable
Describes the parameters for a document.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssociationDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationDescription
addParametersEntry(String key, List<String> value)
AssociationDescription
clearParametersEntries()
Removes all the entries added into Parameters.AssociationDescription
clone()
boolean
equals(Object obj)
Date
getDate()
The date when the association was made.String
getInstanceId()
The ID of the instance.String
getName()
The name of the SSM document.Map<String,List<String>>
getParameters()
A description of the parameters for a document.AssociationStatus
getStatus()
The association status.int
hashCode()
void
setDate(Date dateValue)
The date when the association was made.void
setInstanceId(String instanceId)
The ID of the instance.void
setName(String name)
The name of the SSM document.void
setParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.void
setStatus(AssociationStatus status)
The association status.String
toString()
Returns a string representation of this object; useful for testing and debugging.AssociationDescription
withDate(Date dateValue)
The date when the association was made.AssociationDescription
withInstanceId(String instanceId)
The ID of the instance.AssociationDescription
withName(String name)
The name of the SSM document.AssociationDescription
withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.AssociationDescription
withStatus(AssociationStatus status)
The association status.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the SSM document.
- Parameters:
name
- The name of the SSM document.
-
getName
public String getName()
The name of the SSM document.
- Returns:
- The name of the SSM document.
-
withName
public AssociationDescription withName(String name)
The name of the SSM document.
- Parameters:
name
- The name of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
public void setInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
public String getInstanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
public AssociationDescription withInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDate
public void setDate(Date dateValue)
The date when the association was made.
- Parameters:
dateValue
- The date when the association was made.
-
getDate
public Date getDate()
The date when the association was made.
- Returns:
- The date when the association was made.
-
withDate
public AssociationDescription withDate(Date dateValue)
The date when the association was made.
- Parameters:
dateValue
- The date when the association was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(AssociationStatus status)
The association status.
- Parameters:
status
- The association status.
-
getStatus
public AssociationStatus getStatus()
The association status.
- Returns:
- The association status.
-
withStatus
public AssociationDescription withStatus(AssociationStatus status)
The association status.
- Parameters:
status
- The association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameters
public Map<String,List<String>> getParameters()
A description of the parameters for a document.
- Returns:
- A description of the parameters for a document.
-
setParameters
public void setParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
- Parameters:
parameters
- A description of the parameters for a document.
-
withParameters
public AssociationDescription withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
- Parameters:
parameters
- A description of the parameters for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addParametersEntry
public AssociationDescription addParametersEntry(String key, List<String> value)
-
clearParametersEntries
public AssociationDescription clearParametersEntries()
Removes all the entries added into Parameters. <p> 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 AssociationDescription clone()
-
-