@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssociationBatchRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
Describes the association of a Systems Manager document and an instance.
Constructor and Description |
---|
CreateAssociationBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
CreateAssociationBatchRequestEntry |
addParametersEntry(String key,
List<String> value) |
CreateAssociationBatchRequestEntry |
clearParametersEntries()
Removes all the entries added into Parameters.
|
CreateAssociationBatchRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationName()
Specify a descriptive name for the association.
|
String |
getDocumentVersion()
The document version.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getName()
The name of the configuration document.
|
InstanceAssociationOutputLocation |
getOutputLocation()
An Amazon S3 bucket where you want to store the results of this request.
|
Map<String,List<String>> |
getParameters()
A description of the parameters for a document.
|
String |
getScheduleExpression()
A cron expression that specifies a schedule when the association runs.
|
List<Target> |
getTargets()
The instances targeted by the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationName(String associationName)
Specify a descriptive name for the association.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setName(String name)
The name of the configuration document.
|
void |
setOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the results of this request.
|
void |
setParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
|
void |
setScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
|
void |
setTargets(Collection<Target> targets)
The instances targeted by the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateAssociationBatchRequestEntry |
withAssociationName(String associationName)
Specify a descriptive name for the association.
|
CreateAssociationBatchRequestEntry |
withDocumentVersion(String documentVersion)
The document version.
|
CreateAssociationBatchRequestEntry |
withInstanceId(String instanceId)
The ID of the instance.
|
CreateAssociationBatchRequestEntry |
withName(String name)
The name of the configuration document.
|
CreateAssociationBatchRequestEntry |
withOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the results of this request.
|
CreateAssociationBatchRequestEntry |
withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
|
CreateAssociationBatchRequestEntry |
withScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
|
CreateAssociationBatchRequestEntry |
withTargets(Collection<Target> targets)
The instances targeted by the request.
|
CreateAssociationBatchRequestEntry |
withTargets(Target... targets)
The instances targeted by the request.
|
public void setName(String name)
The name of the configuration document.
name
- The name of the configuration document.public String getName()
The name of the configuration document.
public CreateAssociationBatchRequestEntry withName(String name)
The name of the configuration document.
name
- The name of the configuration document.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public CreateAssociationBatchRequestEntry withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public Map<String,List<String>> getParameters()
A description of the parameters for a document.
public void setParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public CreateAssociationBatchRequestEntry withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public CreateAssociationBatchRequestEntry addParametersEntry(String key, List<String> value)
public CreateAssociationBatchRequestEntry clearParametersEntries()
public void setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public CreateAssociationBatchRequestEntry withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public List<Target> getTargets()
The instances targeted by the request.
public void setTargets(Collection<Target> targets)
The instances targeted by the request.
targets
- The instances targeted by the request.public CreateAssociationBatchRequestEntry withTargets(Target... targets)
The instances targeted by the request.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The instances targeted by the request.public CreateAssociationBatchRequestEntry withTargets(Collection<Target> targets)
The instances targeted by the request.
targets
- The instances targeted by the request.public void setScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
scheduleExpression
- A cron expression that specifies a schedule when the association runs.public String getScheduleExpression()
A cron expression that specifies a schedule when the association runs.
public CreateAssociationBatchRequestEntry withScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
scheduleExpression
- A cron expression that specifies a schedule when the association runs.public void setOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the results of this request.
outputLocation
- An Amazon S3 bucket where you want to store the results of this request.public InstanceAssociationOutputLocation getOutputLocation()
An Amazon S3 bucket where you want to store the results of this request.
public CreateAssociationBatchRequestEntry withOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the results of this request.
outputLocation
- An Amazon S3 bucket where you want to store the results of this request.public void setAssociationName(String associationName)
Specify a descriptive name for the association.
associationName
- Specify a descriptive name for the association.public String getAssociationName()
Specify a descriptive name for the association.
public CreateAssociationBatchRequestEntry withAssociationName(String associationName)
Specify a descriptive name for the association.
associationName
- Specify a descriptive name for the association.public String toString()
toString
in class Object
Object.toString()
public CreateAssociationBatchRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.