Interface SearchUsersResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchUsersResponse.Builder,
,SearchUsersResponse> SdkBuilder<SearchUsersResponse.Builder,
,SearchUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchUsersResponse
public static interface SearchUsersResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token returned to indicate that there is more data available.totalCount
(Integer totalCount) The total number of users returned.users
(Collection<UserData> users) The users that meet the specified set of filter criteria, in sort order.users
(Consumer<UserData.Builder>... users) The users that meet the specified set of filter criteria, in sort order.The users that meet the specified set of filter criteria, in sort order.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
The users that meet the specified set of filter criteria, in sort order.
- Parameters:
users
- The users that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The users that meet the specified set of filter criteria, in sort order.
- Parameters:
users
- The users that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
The users that meet the specified set of filter criteria, in sort order.
This is a convenience method that creates an instance of theUserData.Builder
avoiding the need to create one manually viaUserData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<UserData>)
.- Parameters:
users
- a consumer that will call methods onUserData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token returned to indicate that there is more data available.
- Parameters:
nextToken
- The token returned to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
The total number of users returned.
- Parameters:
totalCount
- The total number of users returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-