Interface UpdateAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateAssociationResponse.Builder,
,UpdateAssociationResponse> SdkBuilder<UpdateAssociationResponse.Builder,
,UpdateAssociationResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
UpdateAssociationResponse
public static interface UpdateAssociationResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssociationResponse.Builder,UpdateAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociationDescription
(Consumer<AssociationDescription.Builder> associationDescription) The description of the association that was updated.associationDescription
(AssociationDescription associationDescription) The description of the association that was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
associationDescription
UpdateAssociationResponse.Builder associationDescription(AssociationDescription associationDescription) The description of the association that was updated.
- Parameters:
associationDescription
- The description of the association that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationDescription
default UpdateAssociationResponse.Builder associationDescription(Consumer<AssociationDescription.Builder> associationDescription) The description of the association that was updated.
This is a convenience method that creates an instance of theAssociationDescription.Builder
avoiding the need to create one manually viaAssociationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociationDescription(AssociationDescription)
.- Parameters:
associationDescription
- a consumer that will call methods onAssociationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-