@Generated(value="software.amazon.awssdk:codegen") public final class Association extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Association.Builder,Association>
Describes an association of a Amazon Web Services Systems Manager document (SSM document) and an instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Association.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associationId()
The ID created by the system when you create an association.
|
String |
associationName()
The association name.
|
String |
associationVersion()
The association version.
|
static Association.Builder |
builder() |
String |
documentVersion()
The version of the document used in the association.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargets()
Returns true if the Targets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
instanceId()
The ID of the instance.
|
Instant |
lastExecutionDate()
The date on which the association was last run.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Association.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The instances targeted by the request to create an association.
|
Association.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the SSM document.
public final String instanceId()
The ID of the instance.
public final 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 final String associationVersion()
The association version.
public final String documentVersion()
The version of the document used in the association.
public final boolean hasTargets()
public final List<Target> targets()
The instances targeted by the request to create an association.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargets() to see if a value was sent in this field.
public final Instant lastExecutionDate()
The date on which the association was last run.
public final AssociationOverview overview()
Information about the association.
public final String scheduleExpression()
A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC).
public final String associationName()
The association name.
public Association.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Association.Builder,Association>public static Association.Builder builder()
public static Class<? extends Association.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.