Interface SearchWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchWorkspacesResponse.Builder,,SearchWorkspacesResponse> SdkBuilder<SearchWorkspacesResponse.Builder,,SearchWorkspacesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchWorkspacesResponse
@Mutable
@NotThreadSafe
public static interface SearchWorkspacesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchWorkspacesResponse.Builder,SearchWorkspacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The approximate total number of workspaces that match the search criteria.If there are additional results, this is the token for the next set of results.workspaces(Collection<WorkspaceSearchSummary> workspaces) A list of workspaces that match the search criteria.workspaces(Consumer<WorkspaceSearchSummary.Builder>... workspaces) A list of workspaces that match the search criteria.workspaces(WorkspaceSearchSummary... workspaces) A list of workspaces that match the search criteria.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
A list of workspaces that match the search criteria.
- Parameters:
workspaces- A list of workspaces that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
A list of workspaces that match the search criteria.
- Parameters:
workspaces- A list of workspaces that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
A list of workspaces that match the search criteria.
This is a convenience method that creates an instance of theWorkspaceSearchSummary.Builderavoiding the need to create one manually viaWorkspaceSearchSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaces(List<WorkspaceSearchSummary>).- Parameters:
workspaces- a consumer that will call methods onWorkspaceSearchSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateTotalCount
The approximate total number of workspaces that match the search criteria.
- Parameters:
approximateTotalCount- The approximate total number of workspaces that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-