@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes the parameters for a document.
Constructor and Description |
---|
AssociationDescription() |
Modifier and Type | Method and Description |
---|---|
AssociationDescription |
addParametersEntry(String key,
List<String> value) |
AssociationDescription |
clearParametersEntries()
Removes all the entries added into Parameters.
|
AssociationDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The association ID.
|
String |
getAssociationName()
The association name.
|
String |
getAssociationVersion()
The association version.
|
Date |
getDate()
The date when the association was made.
|
String |
getDocumentVersion()
The document version.
|
String |
getInstanceId()
The ID of the instance.
|
Date |
getLastExecutionDate()
The date on which the association was last run.
|
Date |
getLastSuccessfulExecutionDate()
The last date on which the association was successfully run.
|
Date |
getLastUpdateAssociationDate()
The date when the association was last updated.
|
String |
getName()
The name of the Systems Manager document.
|
InstanceAssociationOutputLocation |
getOutputLocation()
An Amazon S3 bucket where you want to store the output details of the request.
|
AssociationOverview |
getOverview()
Information about the association.
|
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.
|
AssociationStatus |
getStatus()
The association status.
|
List<Target> |
getTargets()
The instances targeted by the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The association ID.
|
void |
setAssociationName(String associationName)
The association name.
|
void |
setAssociationVersion(String associationVersion)
The association version.
|
void |
setDate(Date date)
The date when the association was made.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
|
void |
setLastSuccessfulExecutionDate(Date lastSuccessfulExecutionDate)
The last date on which the association was successfully run.
|
void |
setLastUpdateAssociationDate(Date lastUpdateAssociationDate)
The date when the association was last updated.
|
void |
setName(String name)
The name of the Systems Manager document.
|
void |
setOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the output details of the request.
|
void |
setOverview(AssociationOverview overview)
Information about the association.
|
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 |
setStatus(AssociationStatus status)
The association status.
|
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.
|
AssociationDescription |
withAssociationId(String associationId)
The association ID.
|
AssociationDescription |
withAssociationName(String associationName)
The association name.
|
AssociationDescription |
withAssociationVersion(String associationVersion)
The association version.
|
AssociationDescription |
withDate(Date date)
The date when the association was made.
|
AssociationDescription |
withDocumentVersion(String documentVersion)
The document version.
|
AssociationDescription |
withInstanceId(String instanceId)
The ID of the instance.
|
AssociationDescription |
withLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
|
AssociationDescription |
withLastSuccessfulExecutionDate(Date lastSuccessfulExecutionDate)
The last date on which the association was successfully run.
|
AssociationDescription |
withLastUpdateAssociationDate(Date lastUpdateAssociationDate)
The date when the association was last updated.
|
AssociationDescription |
withName(String name)
The name of the Systems Manager document.
|
AssociationDescription |
withOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the output details of the request.
|
AssociationDescription |
withOverview(AssociationOverview overview)
Information about the association.
|
AssociationDescription |
withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
|
AssociationDescription |
withScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
|
AssociationDescription |
withStatus(AssociationStatus status)
The association status.
|
AssociationDescription |
withTargets(Collection<Target> targets)
The instances targeted by the request.
|
AssociationDescription |
withTargets(Target... targets)
The instances targeted by the request.
|
public void setName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.public String getName()
The name of the Systems Manager document.
public AssociationDescription withName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager 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 AssociationDescription withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public String getAssociationVersion()
The association version.
public AssociationDescription withAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public void setDate(Date date)
The date when the association was made.
date
- The date when the association was made.public Date getDate()
The date when the association was made.
public AssociationDescription withDate(Date date)
The date when the association was made.
date
- The date when the association was made.public void setLastUpdateAssociationDate(Date lastUpdateAssociationDate)
The date when the association was last updated.
lastUpdateAssociationDate
- The date when the association was last updated.public Date getLastUpdateAssociationDate()
The date when the association was last updated.
public AssociationDescription withLastUpdateAssociationDate(Date lastUpdateAssociationDate)
The date when the association was last updated.
lastUpdateAssociationDate
- The date when the association was last updated.public void setStatus(AssociationStatus status)
The association status.
status
- The association status.public AssociationStatus getStatus()
The association status.
public AssociationDescription withStatus(AssociationStatus status)
The association status.
status
- The association status.public void setOverview(AssociationOverview overview)
Information about the association.
overview
- Information about the association.public AssociationOverview getOverview()
Information about the association.
public AssociationDescription withOverview(AssociationOverview overview)
Information about the association.
overview
- Information about the association.public void setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public AssociationDescription withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.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 AssociationDescription withParameters(Map<String,List<String>> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public AssociationDescription addParametersEntry(String key, List<String> value)
public AssociationDescription clearParametersEntries()
public void setAssociationId(String associationId)
The association ID.
associationId
- The association ID.public String getAssociationId()
The association ID.
public AssociationDescription withAssociationId(String associationId)
The association ID.
associationId
- The association ID.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 AssociationDescription 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 AssociationDescription 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 AssociationDescription 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 output details of the request.
outputLocation
- An Amazon S3 bucket where you want to store the output details of the request.public InstanceAssociationOutputLocation getOutputLocation()
An Amazon S3 bucket where you want to store the output details of the request.
public AssociationDescription withOutputLocation(InstanceAssociationOutputLocation outputLocation)
An Amazon S3 bucket where you want to store the output details of the request.
outputLocation
- An Amazon S3 bucket where you want to store the output details of the request.public void setLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
lastExecutionDate
- The date on which the association was last run.public Date getLastExecutionDate()
The date on which the association was last run.
public AssociationDescription withLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
lastExecutionDate
- The date on which the association was last run.public void setLastSuccessfulExecutionDate(Date lastSuccessfulExecutionDate)
The last date on which the association was successfully run.
lastSuccessfulExecutionDate
- The last date on which the association was successfully run.public Date getLastSuccessfulExecutionDate()
The last date on which the association was successfully run.
public AssociationDescription withLastSuccessfulExecutionDate(Date lastSuccessfulExecutionDate)
The last date on which the association was successfully run.
lastSuccessfulExecutionDate
- The last date on which the association was successfully run.public void setAssociationName(String associationName)
The association name.
associationName
- The association name.public String getAssociationName()
The association name.
public AssociationDescription withAssociationName(String associationName)
The association name.
associationName
- The association name.public String toString()
toString
in class Object
Object.toString()
public AssociationDescription 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.