Class CreateAssociationBatchRequestEntry
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.CreateAssociationBatchRequestEntry
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateAssociationBatchRequestEntry extends Object implements Serializable, Cloneable
Describes the association of an SSM document and an instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateAssociationBatchRequestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAssociationBatchRequestEntry
addParametersEntry(String key, List<String> value)
CreateAssociationBatchRequestEntry
clearParametersEntries()
Removes all the entries added into Parameters.CreateAssociationBatchRequestEntry
clone()
boolean
equals(Object obj)
String
getInstanceId()
The ID of the instance.String
getName()
The name of the configuration document.Map<String,List<String>>
getParameters()
A description of the parameters for a document.int
hashCode()
void
setInstanceId(String instanceId)
The ID of the instance.void
setName(String name)
The name of the configuration document.void
setParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateAssociationBatchRequestEntry
withInstanceId(String instanceId)
The ID of the instance.CreateAssociationBatchRequestEntry
withName(String name)
The name of the configuration document.CreateAssociationBatchRequestEntry
withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the configuration document.
- Parameters:
name
- The name of the configuration document.
-
getName
public String getName()
The name of the configuration document.
- Returns:
- The name of the configuration document.
-
withName
public CreateAssociationBatchRequestEntry withName(String name)
The name of the configuration document.
- Parameters:
name
- The name of the configuration 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 CreateAssociationBatchRequestEntry 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.
-
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 CreateAssociationBatchRequestEntry 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 CreateAssociationBatchRequestEntry addParametersEntry(String key, List<String> value)
-
clearParametersEntries
public CreateAssociationBatchRequestEntry 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 CreateAssociationBatchRequestEntry clone()
-
-