Interface UpdateDataRepositoryAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDataRepositoryAssociationResponse.Builder,,UpdateDataRepositoryAssociationResponse> FSxResponse.Builder,SdkBuilder<UpdateDataRepositoryAssociationResponse.Builder,,UpdateDataRepositoryAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDataRepositoryAssociationResponse
public static interface UpdateDataRepositoryAssociationResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<UpdateDataRepositoryAssociationResponse.Builder,UpdateDataRepositoryAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociation(Consumer<DataRepositoryAssociation.Builder> association) The response object returned after the data repository association is updated.association(DataRepositoryAssociation association) The response object returned after the data repository association is updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
association
The response object returned after the data repository association is updated.
- Parameters:
association- The response object returned after the data repository association is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default UpdateDataRepositoryAssociationResponse.Builder association(Consumer<DataRepositoryAssociation.Builder> association) The response object returned after the data repository association is updated.
This is a convenience method that creates an instance of theDataRepositoryAssociation.Builderavoiding the need to create one manually viaDataRepositoryAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociation(DataRepositoryAssociation).- Parameters:
association- a consumer that will call methods onDataRepositoryAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-