Interface DescribeWorkspacesPoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkspacesPoolsResponse.Builder,
,DescribeWorkspacesPoolsResponse> SdkBuilder<DescribeWorkspacesPoolsResponse.Builder,
,DescribeWorkspacesPoolsResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspacesPoolsResponse
@Mutable
@NotThreadSafe
public static interface DescribeWorkspacesPoolsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspacesPoolsResponse.Builder,DescribeWorkspacesPoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf you received aNextToken
from a previous call that was paginated, provide this token to receive the next set of results.workspacesPools
(Collection<WorkspacesPool> workspacesPools) Information about the WorkSpaces Pools.workspacesPools
(Consumer<WorkspacesPool.Builder>... workspacesPools) Information about the WorkSpaces Pools.workspacesPools
(WorkspacesPool... workspacesPools) Information about the WorkSpaces Pools.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, sdkFieldNameToField, 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
-
workspacesPools
Information about the WorkSpaces Pools.
- Parameters:
workspacesPools
- Information about the WorkSpaces Pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspacesPools
Information about the WorkSpaces Pools.
- Parameters:
workspacesPools
- Information about the WorkSpaces Pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspacesPools
DescribeWorkspacesPoolsResponse.Builder workspacesPools(Consumer<WorkspacesPool.Builder>... workspacesPools) Information about the WorkSpaces Pools.
This is a convenience method that creates an instance of theWorkspacesPool.Builder
avoiding the need to create one manually viaWorkspacesPool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkspacesPools(List<WorkspacesPool>)
.- Parameters:
workspacesPools
- a consumer that will call methods onWorkspacesPool.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If you received a
NextToken
from a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken
- If you received aNextToken
from a previous call that was paginated, provide this token to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-