@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAssociationRequest extends SsmRequest implements ToCopyableBuilder<UpdateAssociationRequest.Builder,UpdateAssociationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateAssociationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
associationId()
The ID of the association you want to update.
|
String |
associationName()
The name of the association that you want to update.
|
String |
associationVersion()
This parameter is provided for concurrency control purposes.
|
static UpdateAssociationRequest.Builder |
builder() |
String |
documentVersion()
The document version you want update for the association.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name of the association document.
|
InstanceAssociationOutputLocation |
outputLocation()
An Amazon S3 bucket where you want to store the results of this request.
|
Map<String,List<String>> |
parameters()
The parameters you want to update for the association.
|
String |
scheduleExpression()
The cron expression used to schedule the association that you want to update.
|
static Class<? extends UpdateAssociationRequest.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The targets of the association.
|
UpdateAssociationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String associationId()
The ID of the association you want to update.
public Map<String,List<String>> parameters()
The parameters you want to update for the association. If you create a parameter using Parameter Store, you can reference the parameter using {{ssm:parameter-name}}
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String documentVersion()
The document version you want update for the association.
public String scheduleExpression()
The cron expression used to schedule the association that you want to update.
public InstanceAssociationOutputLocation outputLocation()
An Amazon S3 bucket where you want to store the results of this request.
public String name()
The name of the association document.
public List<Target> targets()
The targets of the association.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String associationName()
The name of the association that you want to update.
public String associationVersion()
This parameter is provided for concurrency control purposes. You must specify the latest association version in
the service. If you want to ensure that this request succeeds, either specify $LATEST
, or omit this
parameter.
$LATEST
, or omit this parameter.public UpdateAssociationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateAssociationRequest.Builder,UpdateAssociationRequest>
toBuilder
in class SsmRequest
public static UpdateAssociationRequest.Builder builder()
public static Class<? extends UpdateAssociationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.