Interface DescribeDataRepositoryAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDataRepositoryAssociationsResponse.Builder,
,DescribeDataRepositoryAssociationsResponse> FSxResponse.Builder
,SdkBuilder<DescribeDataRepositoryAssociationsResponse.Builder,
,DescribeDataRepositoryAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDataRepositoryAssociationsResponse
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
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadata
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
-
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.Builder
avoiding the need to create one manually viaDataRepositoryAssociation.builder()
.When the
Consumer
completes,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.
-