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