Interface CreateDataRepositoryAssociationResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateDataRepositoryAssociationResponse.Builder,,CreateDataRepositoryAssociationResponse> FSxResponse.Builder,SdkBuilder<CreateDataRepositoryAssociationResponse.Builder,,CreateDataRepositoryAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateDataRepositoryAssociationResponse
public static interface CreateDataRepositoryAssociationResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<CreateDataRepositoryAssociationResponse.Builder,CreateDataRepositoryAssociationResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionassociation(Consumer<DataRepositoryAssociation.Builder> association) The response object returned after the data repository association is created.association(DataRepositoryAssociation association) The response object returned after the data repository association is created.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 created.
- Parameters:
 association- The response object returned after the data repository association is created.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
association
default CreateDataRepositoryAssociationResponse.Builder association(Consumer<DataRepositoryAssociation.Builder> association) The response object returned after the data repository association is created.
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:
 
 
 -