Interface DescribeWorkspacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>,SdkBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
- DescribeWorkspacesResponse
public static interface DescribeWorkspacesResponse.Builder extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeWorkspacesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeWorkspacesResponse.Builderworkspaces(Collection<Workspace> workspaces)Information about the WorkSpaces.DescribeWorkspacesResponse.Builderworkspaces(Consumer<Workspace.Builder>... workspaces)Information about the WorkSpaces.DescribeWorkspacesResponse.Builderworkspaces(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, 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 Detail
-
workspaces
DescribeWorkspacesResponse.Builder workspaces(Collection<Workspace> 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
DescribeWorkspacesResponse.Builder workspaces(Workspace... 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
DescribeWorkspacesResponse.Builder workspaces(Consumer<Workspace.Builder>... 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.Builderavoiding the need to create one manually viaWorkspace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#workspaces(List.) - 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:
#workspaces(java.util.Collection)
-
nextToken
DescribeWorkspacesResponse.Builder nextToken(String 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.
-
-