Interface DescribeDataRepositoryAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDataRepositoryAssociationsResponse.Builder,,DescribeDataRepositoryAssociationsResponse> FSxResponse.Builder,SdkBuilder<DescribeDataRepositoryAssociationsResponse.Builder,,DescribeDataRepositoryAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDataRepositoryAssociationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDataRepositoryAssociationsResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DescribeDataRepositoryAssociationsResponse.Builder,DescribeDataRepositoryAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<DataRepositoryAssociation> associations) An array of one or more data repository association descriptions.associations(Consumer<DataRepositoryAssociation.Builder>... associations) An array of one or more data repository association descriptions.associations(DataRepositoryAssociation... associations) An array of one or more data repository association descriptions.Sets the value of the NextToken property for this object.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associations
DescribeDataRepositoryAssociationsResponse.Builder associations(Collection<DataRepositoryAssociation> associations) An array of one or more data repository association descriptions.
- Parameters:
associations- An array of one or more data repository association descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeDataRepositoryAssociationsResponse.Builder associations(DataRepositoryAssociation... associations) An array of one or more data repository association descriptions.
- Parameters:
associations- An array of one or more data repository association descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeDataRepositoryAssociationsResponse.Builder associations(Consumer<DataRepositoryAssociation.Builder>... associations) An array of one or more data repository association descriptions.
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 toassociations(List<DataRepositoryAssociation>).- Parameters:
associations- 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:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-