Interface DescribeBundleAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBundleAssociationsResponse.Builder,,DescribeBundleAssociationsResponse> SdkBuilder<DescribeBundleAssociationsResponse.Builder,,DescribeBundleAssociationsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeBundleAssociationsResponse
@Mutable
@NotThreadSafe
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
copyMethods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaBundleResourceAssociation.builder().When the
Consumercompletes,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:
-