Interface DescribeBundleAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBundleAssociationsResponse.Builder,
,DescribeBundleAssociationsResponse> SdkBuilder<DescribeBundleAssociationsResponse.Builder,
,DescribeBundleAssociationsResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DescribeBundleAssociationsResponse
public static interface DescribeBundleAssociationsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeBundleAssociationsResponse.Builder,DescribeBundleAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations
(Collection<BundleResourceAssociation> associations) List of information about the specified associations.associations
(Consumer<BundleResourceAssociation.Builder>... associations) List of information about the specified associations.associations
(BundleResourceAssociation... associations) List of information about the specified associations.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.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
associations
DescribeBundleAssociationsResponse.Builder associations(Collection<BundleResourceAssociation> associations) List of information about the specified associations.
- Parameters:
associations
- List of information about the specified associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
List of information about the specified associations.
- Parameters:
associations
- List of information about the specified associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
DescribeBundleAssociationsResponse.Builder associations(Consumer<BundleResourceAssociation.Builder>... associations) List of information about the specified associations.
This is a convenience method that creates an instance of theBundleResourceAssociation.Builder
avoiding the need to create one manually viaBundleResourceAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<BundleResourceAssociation>)
.- Parameters:
associations
- a consumer that will call methods onBundleResourceAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-