Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUsersResponse.Builder,
,ListUsersResponse> IdentitystoreResponse.Builder
,SdkBuilder<ListUsersResponse.Builder,
,ListUsersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
public static interface ListUsersResponse.Builder
extends IdentitystoreResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token used for theListUsers
andListGroups
API operations.users
(Collection<User> users) A list ofUser
objects in the identity store.users
(Consumer<User.Builder>... users) A list ofUser
objects in the identity store.A list ofUser
objects in the identity store.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.identitystore.model.IdentitystoreResponse.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
A list of
User
objects in the identity store.- Parameters:
users
- A list ofUser
objects in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of
User
objects in the identity store.- Parameters:
users
- A list ofUser
objects in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of
This is a convenience method that creates an instance of theUser
objects in the identity store.User.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
The pagination token used for the
ListUsers
andListGroups
API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.- Parameters:
nextToken
- The pagination token used for theListUsers
andListGroups
API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-