public class ListUsersResult
extends java.lang.Object
implements java.io.Serializable
The response from the request to list users.
| Constructor and Description |
|---|
ListUsersResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.List<UserType> |
getUsers()
A list of the user pool users, and their attributes, that match your
query.
|
int |
hashCode() |
void |
setPaginationToken(java.lang.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(java.util.Collection<UserType> users)
A list of the user pool users, and their attributes, that match your
query.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUsersResult |
withPaginationToken(java.lang.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(java.util.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.
|
public java.util.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.
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 setUsers(java.util.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.
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
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(java.util.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.
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
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 java.lang.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.
Constraints:
Length: 1 -
Pattern: [\S]+
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 void setPaginationToken(java.lang.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.
Constraints:
Length: 1 -
Pattern: [\S]+
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 ListUsersResult withPaginationToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object