StructuredPojo
, ToCopyableBuilder<Association.Builder,Association>
@Generated("software.amazon.awssdk:codegen") public class Association extends Object implements StructuredPojo, ToCopyableBuilder<Association.Builder,Association>
Describes an association of a Systems Manager document and an instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Association.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
associationId() |
The ID created by the system when you create an association.
|
static Association.Builder |
builder() |
|
String |
documentVersion() |
The version of the document used in the association.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceId() |
The ID of the instance.
|
Date |
lastExecutionDate() |
The date on which the association was last run.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of the SSM document.
|
AssociationOverview |
overview() |
Information about the association.
|
String |
scheduleExpression() |
A cron expression that specifies a schedule when the association runs.
|
static Class<? extends Association.Builder> |
serializableBuilderClass() |
|
List<Target> |
targets() |
The instances targeted by the request to create an association.
|
Association.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String name()
The name of the SSM document.
public String instanceId()
The ID of the instance.
public 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.
public String documentVersion()
The version of the document used in the association.
public List<Target> targets()
The instances targeted by the request to create an association.
public Date lastExecutionDate()
The date on which the association was last run.
public AssociationOverview overview()
Information about the association.
public String scheduleExpression()
A cron expression that specifies a schedule when the association runs.
public Association.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Association.Builder,Association>
public static Association.Builder builder()
public static Class<? extends Association.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.