public static interface Association.Builder extends 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 |
associationName(String associationName)
The association name.
|
Association.Builder |
associationVersion(String associationVersion)
The association version.
|
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(Instant lastExecutionDate)
The date on which the association was last run.
|
Association.Builder |
name(String name)
The name of the Systems Manager document.
|
Association.Builder |
overview(AssociationOverview overview)
Information about the association.
|
default Association.Builder |
overview(Consumer<AssociationOverview.Builder> 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(Consumer<Target.Builder>... 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.
|
copy
applyMutation, build
Association.Builder name(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager 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 associationVersion(String associationVersion)
The association version.
associationVersion
- The association version.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.
targets
- The instances targeted by the request to create an association.Association.Builder targets(Consumer<Target.Builder>... targets)
The instances targeted by the request to create an association.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #targets(List)
.targets
- a consumer that will call methods on List.Builder
#targets(List)
Association.Builder lastExecutionDate(Instant 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.default Association.Builder overview(Consumer<AssociationOverview.Builder> overview)
Information about the association.
This is a convenience that creates an instance of theAssociationOverview.Builder
avoiding the need
to create one manually via AssociationOverview.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to overview(AssociationOverview)
.overview
- a consumer that will call methods on AssociationOverview.Builder
overview(AssociationOverview)
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.Association.Builder associationName(String associationName)
The association name.
associationName
- The association name.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.