@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Association extends Object implements Serializable, Cloneable, StructuredPojo
Describes an association of a Systems Manager document and an instance.
Constructor and Description |
---|
Association() |
Modifier and Type | Method and Description |
---|---|
Association |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The ID created by the system when you create an association.
|
String |
getAssociationName()
The association name.
|
String |
getAssociationVersion()
The association version.
|
String |
getDocumentVersion()
The version of the document used in the association.
|
String |
getInstanceId()
The ID of the instance.
|
Date |
getLastExecutionDate()
The date on which the association was last run.
|
String |
getName()
The name of the Systems Manager document.
|
AssociationOverview |
getOverview()
Information about the association.
|
String |
getScheduleExpression()
A cron expression that specifies a schedule when the association runs.
|
List<Target> |
getTargets()
The instances targeted by the request to create an association.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The ID created by the system when you create an association.
|
void |
setAssociationName(String associationName)
The association name.
|
void |
setAssociationVersion(String associationVersion)
The association version.
|
void |
setDocumentVersion(String documentVersion)
The version of the document used in the association.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
|
void |
setName(String name)
The name of the Systems Manager document.
|
void |
setOverview(AssociationOverview overview)
Information about the association.
|
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 to create an association.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Association |
withAssociationId(String associationId)
The ID created by the system when you create an association.
|
Association |
withAssociationName(String associationName)
The association name.
|
Association |
withAssociationVersion(String associationVersion)
The association version.
|
Association |
withDocumentVersion(String documentVersion)
The version of the document used in the association.
|
Association |
withInstanceId(String instanceId)
The ID of the instance.
|
Association |
withLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
|
Association |
withName(String name)
The name of the Systems Manager document.
|
Association |
withOverview(AssociationOverview overview)
Information about the association.
|
Association |
withScheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
|
Association |
withTargets(Collection<Target> targets)
The instances targeted by the request to create an association.
|
Association |
withTargets(Target... targets)
The instances targeted by the request to create an association.
|
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 Association 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 Association withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setAssociationId(String associationId)
The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
associationId
- The ID created by the system when you create an association. An association is a binding between a
document and a set of targets with a schedule.public String getAssociationId()
The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
public Association withAssociationId(String associationId)
The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.
associationId
- The ID created by the system when you create an association. An association is a binding between a
document and a set of targets with a schedule.public void setAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public String getAssociationVersion()
The association version.
public Association withAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public void setDocumentVersion(String documentVersion)
The version of the document used in the association.
documentVersion
- The version of the document used in the association.public String getDocumentVersion()
The version of the document used in the association.
public Association withDocumentVersion(String documentVersion)
The version of the document used in the association.
documentVersion
- The version of the document used in the association.public List<Target> getTargets()
The instances targeted by the request to create an association.
public void setTargets(Collection<Target> targets)
The instances targeted by the request to create an association.
targets
- The instances targeted by the request to create an association.public Association withTargets(Target... targets)
The instances targeted by the request to create an association.
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 to create an association.public Association withTargets(Collection<Target> targets)
The instances targeted by the request to create an association.
targets
- The instances targeted by the request to create an association.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 Association withLastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
lastExecutionDate
- The date on which the association was last run.public void setOverview(AssociationOverview overview)
Information about the association.
overview
- Information about the association.public AssociationOverview getOverview()
Information about the association.
public Association withOverview(AssociationOverview overview)
Information about the association.
overview
- Information about the association.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 Association 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 setAssociationName(String associationName)
The association name.
associationName
- The association name.public String getAssociationName()
The association name.
public Association withAssociationName(String associationName)
The association name.
associationName
- The association name.public String toString()
toString
in class Object
Object.toString()
public Association 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.