Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> RekognitionResponse.Builder
,SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
public static interface ListUsersResponse.Builder
extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to be used with the subsequent request if the response is truncated.users
(Collection<User> users) List of UsersID associated with the specified collection.users
(Consumer<User.Builder>... users) List of UsersID associated with the specified collection.List of UsersID associated with the specified collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
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
List of UsersID associated with the specified collection.
- Parameters:
users
- List of UsersID associated with the specified collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
List of UsersID associated with the specified collection.
- Parameters:
users
- List of UsersID associated with the specified collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
List of UsersID associated with the specified collection.
This is a convenience method that creates an instance of theUser.Builder
avoiding the need to create one manually viaUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<User>)
.- Parameters:
users
- a consumer that will call methods onUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to be used with the subsequent request if the response is truncated.
- Parameters:
nextToken
- A pagination token to be used with the subsequent request if the response is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-