Interface DescribeWorkspacesPoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspacesPoolsResponse.Builder,,DescribeWorkspacesPoolsResponse> SdkBuilder<DescribeWorkspacesPoolsResponse.Builder,,DescribeWorkspacesPoolsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspacesPoolsResponse
public static interface DescribeWorkspacesPoolsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspacesPoolsResponse.Builder,DescribeWorkspacesPoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf you received aNextTokenfrom 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
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
-
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.Builderavoiding the need to create one manually viaWorkspacesPool.builder().When the
Consumercompletes,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
NextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken- If you received aNextTokenfrom 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.
-