Interface SearchUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchUsersResponse.Builder,
,SearchUsersResponse> SdkBuilder<SearchUsersResponse.Builder,
,SearchUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchUsersResponse
@Mutable
@NotThreadSafe
public static interface SearchUsersResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The total number of users who matched your search query.If there are additional results, this is the token for the next set of results.users
(Collection<UserSearchSummary> users) Information about the users.users
(Consumer<UserSearchSummary.Builder>... users) Information about the users.users
(UserSearchSummary... users) Information about the users.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
Information about the users.
- Parameters:
users
- Information about the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Information about the users.
- Parameters:
users
- Information about the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
Information about the users.
This is a convenience method that creates an instance of theUserSearchSummary.Builder
avoiding the need to create one manually viaUserSearchSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<UserSearchSummary>)
.- Parameters:
users
- a consumer that will call methods onUserSearchSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
approximateTotalCount
The total number of users who matched your search query.
- Parameters:
approximateTotalCount
- The total number of users who matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-