public static interface Association.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<Association.Builder,Association>
| Modifier and Type | Method and Description |
|---|---|
Association.Builder |
associationId(String associationId)
The ID created by the system when you create an association.
|
Association.Builder |
documentVersion(String documentVersion)
The version of the document used in the association.
|
Association.Builder |
instanceId(String instanceId)
The ID of the instance.
|
Association.Builder |
lastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
|
Association.Builder |
name(String name)
The name of the SSM document.
|
Association.Builder |
overview(AssociationOverview overview)
Information about the association.
|
Association.Builder |
scheduleExpression(String scheduleExpression)
A cron expression that specifies a schedule when the association runs.
|
Association.Builder |
targets(Collection<Target> targets)
The instances targeted by the request to create an association.
|
Association.Builder |
targets(Target... targets)
The instances targeted by the request to create an association.
|
copyapply, buildAssociation.Builder name(String name)
The name of the SSM document.
name - The name of the SSM document.Association.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.Association.Builder associationId(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.Association.Builder documentVersion(String documentVersion)
The version of the document used in the association.
documentVersion - The version of the document used in the association.Association.Builder targets(Collection<Target> targets)
The instances targeted by the request to create an association.
targets - The instances targeted by the request to create an association.Association.Builder targets(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.Association.Builder lastExecutionDate(Date lastExecutionDate)
The date on which the association was last run.
lastExecutionDate - The date on which the association was last run.Association.Builder overview(AssociationOverview overview)
Information about the association.
overview - Information about the association.Association.Builder scheduleExpression(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.Copyright © 2017. All rights reserved.