Interface ListWorkspacesResponse.Builder
- All Superinterfaces:
- AmpResponse.Builder,- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListWorkspacesResponse.Builder,,- ListWorkspacesResponse> - SdkBuilder<ListWorkspacesResponse.Builder,,- ListWorkspacesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListWorkspacesResponse
public static interface ListWorkspacesResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionA token indicating that there are more results to retrieve.workspaces(Collection<WorkspaceSummary> workspaces) An array ofWorkspaceSummarystructures containing information about the workspaces requested.workspaces(Consumer<WorkspaceSummary.Builder>... workspaces) An array ofWorkspaceSummarystructures containing information about the workspaces requested.workspaces(WorkspaceSummary... workspaces) An array ofWorkspaceSummarystructures containing information about the workspaces requested.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenA token indicating that there are more results to retrieve. You can use this token as part of your next ListWorkspacesrequest to retrieve those results.- Parameters:
- nextToken- A token indicating that there are more results to retrieve. You can use this token as part of your next- ListWorkspacesrequest to retrieve those results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspacesAn array of WorkspaceSummarystructures containing information about the workspaces requested.- Parameters:
- workspaces- An array of- WorkspaceSummarystructures containing information about the workspaces requested.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspacesAn array of WorkspaceSummarystructures containing information about the workspaces requested.- Parameters:
- workspaces- An array of- WorkspaceSummarystructures containing information about the workspaces requested.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspacesAn array of This is a convenience method that creates an instance of theWorkspaceSummarystructures containing information about the workspaces requested.WorkspaceSummary.Builderavoiding the need to create one manually viaWorkspaceSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaces(List<WorkspaceSummary>).- Parameters:
- workspaces- a consumer that will call methods on- WorkspaceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-