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 method that creates an instance of theWorkspaceSummary.Builder avoiding the need to create one
manually via WorkspaceSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #workspaces(List.
workspaces - a consumer that will call methods on
WorkspaceSummary.Builder#workspaces(java.util.Collection) Copyright © 2022. All rights reserved.