public static interface DescribeWorkspacesResponse.Builder extends WorkSpacesResponse.Builder, CopyableBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesResponse.Builder |
nextToken(String nextToken)
If not null, more results are available.
|
DescribeWorkspacesResponse.Builder |
workspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
|
DescribeWorkspacesResponse.Builder |
workspaces(Consumer<Workspace.Builder>... workspaces)
An array of structures that contain the information about the WorkSpaces.
|
DescribeWorkspacesResponse.Builder |
workspaces(Workspace... workspaces)
An array of structures that contain the information about the WorkSpaces.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeWorkspacesResponse.Builder workspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
workspaces
- An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
DescribeWorkspacesResponse.Builder workspaces(Workspace... workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
workspaces
- An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
DescribeWorkspacesResponse.Builder workspaces(Consumer<Workspace.Builder>... workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #workspaces(List)
.workspaces
- a consumer that will call methods on List.Builder
#workspaces(List)
DescribeWorkspacesResponse.Builder nextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to this operation to retrieve the next set of items. This token is valid for one day and must
be used within that time frame.
nextToken
- If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to this operation to retrieve the next set of items. This token is valid for one day
and must be used within that time frame.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.