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 AssociationDescriptionaddParametersEntry(String key, List<String> value)AssociationDescriptionclearParametersEntries()Removes all the entries added into Parameters.AssociationDescriptionclone()booleanequals(Object obj)DategetDate()The date when the association was made.StringgetInstanceId()The ID of the instance.StringgetName()The name of the SSM document.Map<String,List<String>>getParameters()A description of the parameters for a document.AssociationStatusgetStatus()The association status.inthashCode()voidsetDate(Date dateValue)The date when the association was made.voidsetInstanceId(String instanceId)The ID of the instance.voidsetName(String name)The name of the SSM document.voidsetParameters(Map<String,List<String>> parameters)A description of the parameters for a document.voidsetStatus(AssociationStatus status)The association status.StringtoString()Returns a string representation of this object; useful for testing and debugging.AssociationDescriptionwithDate(Date dateValue)The date when the association was made.AssociationDescriptionwithInstanceId(String instanceId)The ID of the instance.AssociationDescriptionwithName(String name)The name of the SSM document.AssociationDescriptionwithParameters(Map<String,List<String>> parameters)A description of the parameters for a document.AssociationDescriptionwithStatus(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AssociationDescription clone()
-
-