Interface SearchWorkspaceAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchWorkspaceAssociationsResponse.Builder,,SearchWorkspaceAssociationsResponse> SdkBuilder<SearchWorkspaceAssociationsResponse.Builder,,SearchWorkspaceAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchWorkspaceAssociationsResponse
@Mutable
@NotThreadSafe
public static interface SearchWorkspaceAssociationsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchWorkspaceAssociationsResponse.Builder,SearchWorkspaceAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The approximate total number of workspace associations that match the search criteria.If there are additional results, this is the token for the next set of results.workspaceAssociations(Collection<WorkspaceAssociationSearchSummary> workspaceAssociations) A list of workspace associations that match the search criteria.workspaceAssociations(Consumer<WorkspaceAssociationSearchSummary.Builder>... workspaceAssociations) A list of workspace associations that match the search criteria.workspaceAssociations(WorkspaceAssociationSearchSummary... workspaceAssociations) A list of workspace associations 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.
-
workspaceAssociations
SearchWorkspaceAssociationsResponse.Builder workspaceAssociations(Collection<WorkspaceAssociationSearchSummary> workspaceAssociations) A list of workspace associations that match the search criteria.
- Parameters:
workspaceAssociations- A list of workspace associations that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceAssociations
SearchWorkspaceAssociationsResponse.Builder workspaceAssociations(WorkspaceAssociationSearchSummary... workspaceAssociations) A list of workspace associations that match the search criteria.
- Parameters:
workspaceAssociations- A list of workspace associations that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceAssociations
SearchWorkspaceAssociationsResponse.Builder workspaceAssociations(Consumer<WorkspaceAssociationSearchSummary.Builder>... workspaceAssociations) A list of workspace associations that match the search criteria.
This is a convenience method that creates an instance of theWorkspaceAssociationSearchSummary.Builderavoiding the need to create one manually viaWorkspaceAssociationSearchSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceAssociations(List<WorkspaceAssociationSearchSummary>).- Parameters:
workspaceAssociations- a consumer that will call methods onWorkspaceAssociationSearchSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximateTotalCount
The approximate total number of workspace associations that match the search criteria.
- Parameters:
approximateTotalCount- The approximate total number of workspace associations that match the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-