public static interface ListWorkspacesResponse.Builder extends AmpResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListWorkspacesResponse.Builder |
nextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
|
ListWorkspacesResponse.Builder |
workspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
ListWorkspacesResponse.Builder |
workspaces(Consumer<WorkspaceSummary.Builder>... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
ListWorkspacesResponse.Builder |
workspaces(WorkspaceSummary... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListWorkspacesResponse.Builder nextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
nextToken - Pagination token to use when requesting the next page in this list.ListWorkspacesResponse.Builder workspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
workspaces - The list of existing workspaces, including those undergoing creation or deletion.ListWorkspacesResponse.Builder workspaces(WorkspaceSummary... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
workspaces - The list of existing workspaces, including those undergoing creation or deletion.ListWorkspacesResponse.Builder workspaces(Consumer<WorkspaceSummary.Builder>... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
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) Copyright © 2021. All rights reserved.