Interface ListUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListUsersResponse.Builder,,ListUsersResponse> SdkBuilder<ListUsersResponse.Builder,,ListUsersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUsersResponse
-
Method Summary
Modifier and TypeMethodDescriptionpaginationToken(String paginationToken) An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.users(Collection<UserType> users) A list of the user pool users, and their attributes, that match your query.users(Consumer<UserType.Builder>... users) A list of the user pool users, and their attributes, that match your query.A list of the user pool users, and their attributes, that match your query.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
users
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsersdisplays both the IdP user and the native user that you linked. You can identify IdP users in theUsersobject of this API response by the IdP prefix that Amazon Cognito appends toUsername.- Parameters:
users- A list of the user pool users, and their attributes, that match your query.Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsersdisplays both the IdP user and the native user that you linked. You can identify IdP users in theUsersobject of this API response by the IdP prefix that Amazon Cognito appends toUsername.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of the user pool users, and their attributes, that match your query.
Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsersdisplays both the IdP user and the native user that you linked. You can identify IdP users in theUsersobject of this API response by the IdP prefix that Amazon Cognito appends toUsername.- Parameters:
users- A list of the user pool users, and their attributes, that match your query.Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsersdisplays both the IdP user and the native user that you linked. You can identify IdP users in theUsersobject of this API response by the IdP prefix that Amazon Cognito appends toUsername.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A list of the user pool users, and their attributes, that match your query.
This is a convenience method that creates an instance of theAmazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the AdminLinkProviderForUser API operation, the output of
ListUsersdisplays both the IdP user and the native user that you linked. You can identify IdP users in theUsersobject of this API response by the IdP prefix that Amazon Cognito appends toUsername.UserType.Builderavoiding the need to create one manually viaUserType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousers(List<UserType>).- Parameters:
users- a consumer that will call methods onUserType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paginationToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
paginationToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-