@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response from the request to list users.
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
ListUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getPaginationToken()
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.
|
List<UserType> |
getUsers()
A list of the user pool users, and their attributes, that match your query.
|
int |
hashCode() |
void |
setPaginationToken(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.
|
void |
setUsers(Collection<UserType> users)
A list of the user pool users, and their attributes, that match your query.
|
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withPaginationToken(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.
|
ListUsersResult |
withUsers(Collection<UserType> users)
A list of the user pool users, and their attributes, that match your query.
|
ListUsersResult |
withUsers(UserType... users)
A list of the user pool users, and their attributes, that match your query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserType> getUsers()
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 ListUsers
displays both the IdP user and
the native user that you linked. You can identify IdP users in the Users
object of this API response
by the IdP prefix that Amazon Cognito appends to Username
.
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 ListUsers
displays both the IdP
user and the native user that you linked. You can identify IdP users in the Users
object of
this API response by the IdP prefix that Amazon Cognito appends to Username
.
public void setUsers(Collection<UserType> 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 ListUsers
displays both the IdP user and
the native user that you linked. You can identify IdP users in the Users
object of this API response
by the IdP prefix that Amazon Cognito appends to Username
.
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 ListUsers
displays both the IdP
user and the native user that you linked. You can identify IdP users in the Users
object of
this API response by the IdP prefix that Amazon Cognito appends to Username
.
public ListUsersResult withUsers(UserType... 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 ListUsers
displays both the IdP user and
the native user that you linked. You can identify IdP users in the Users
object of this API response
by the IdP prefix that Amazon Cognito appends to Username
.
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
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 ListUsers
displays both the IdP
user and the native user that you linked. You can identify IdP users in the Users
object of
this API response by the IdP prefix that Amazon Cognito appends to Username
.
public ListUsersResult withUsers(Collection<UserType> 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 ListUsers
displays both the IdP user and
the native user that you linked. You can identify IdP users in the Users
object of this API response
by the IdP prefix that Amazon Cognito appends to Username
.
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 ListUsers
displays both the IdP
user and the native user that you linked. You can identify IdP users in the Users
object of
this API response by the IdP prefix that Amazon Cognito appends to Username
.
public void setPaginationToken(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.
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.public String getPaginationToken()
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.
public ListUsersResult withPaginationToken(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()
Copyright © 2023. All rights reserved.