Interface DescribeWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkspacesResponse.Builder,
,DescribeWorkspacesResponse> SdkBuilder<DescribeWorkspacesResponse.Builder,
,DescribeWorkspacesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspacesResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.workspaces
(Collection<Workspace> workspaces) Information about the WorkSpaces.workspaces
(Consumer<Workspace.Builder>... workspaces) Information about the WorkSpaces.workspaces
(Workspace... workspaces) Information about the WorkSpaces.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
-
workspaces
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
- Parameters:
workspaces
- Information about the WorkSpaces.Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
- Parameters:
workspaces
- Information about the WorkSpaces.Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
This is a convenience method that creates an instance of theWorkspace.Builder
avoiding the need to create one manually viaWorkspace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkspaces(List<Workspace>)
.- Parameters:
workspaces
- a consumer that will call methods onWorkspace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-