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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsersResponse.BuildernextToken(String nextToken)A pagination token to be used with the subsequent request if the response is truncated.ListUsersResponse.Builderusers(Collection<User> users)List of UsersID associated with the specified collection.ListUsersResponse.Builderusers(Consumer<User.Builder>... users)List of UsersID associated with the specified collection.ListUsersResponse.Builderusers(User... users)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
users
ListUsersResponse.Builder users(Collection<User> 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
ListUsersResponse.Builder users(User... 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
ListUsersResponse.Builder users(Consumer<User.Builder>... users)
List of UsersID associated with the specified collection.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - 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:
#users(java.util.Collection)
-
nextToken
ListUsersResponse.Builder nextToken(String 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.
-
-