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
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
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.Builder
avoiding the need to create one manually viaWorkspaceResourceAssociation.builder()
.When the
Consumer
completes,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:
-