Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsersResponse.Builder,,ListUsersResponse> IdentitystoreResponse.Builder,SdkBuilder<ListUsersResponse.Builder,,ListUsersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
@Mutable
@NotThreadSafe
public static interface ListUsersResponse.Builder
extends IdentitystoreResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token used for theListUsersandListGroupsAPI operations.users(Collection<User> users) A list ofUserobjects in the identity store.users(Consumer<User.Builder>... users) A list ofUserobjects in the identity store.A list ofUserobjects in the identity store.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.identitystore.model.IdentitystoreResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
A list of
Userobjects in the identity store.- Parameters:
users- A list ofUserobjects in the identity store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of
Userobjects in the identity store.- Parameters:
users- A list ofUserobjects 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 theUserobjects in the identity store.User.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,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
ListUsersandListGroupsAPI 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 theListUsersandListGroupsAPI 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.
-