public class ListUsersRequest extends AmazonWebServiceRequest implements Serializable
Lists the users in the Amazon Cognito user pool.
| Constructor and Description |
|---|
ListUsersRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getAttributesToGet()
The attributes to get from the request to list users.
|
String |
getFilter()
The filter for the list users request.
|
Integer |
getLimit()
The limit of the request to list users.
|
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.
|
String |
getUserPoolId()
The user pool ID for which you want to list users.
|
int |
hashCode() |
void |
setAttributesToGet(Collection<String> attributesToGet)
The attributes to get from the request to list users.
|
void |
setFilter(String filter)
The filter for the list users request.
|
void |
setLimit(Integer limit)
The limit of the request to list users.
|
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 |
setUserPoolId(String userPoolId)
The user pool ID for which you want to list users.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUsersRequest |
withAttributesToGet(Collection<String> attributesToGet)
The attributes to get from the request to list users.
|
ListUsersRequest |
withAttributesToGet(String... attributesToGet)
The attributes to get from the request to list users.
|
ListUsersRequest |
withFilter(String filter)
The filter for the list users request.
|
ListUsersRequest |
withLimit(Integer limit)
The limit of the request to list users.
|
ListUsersRequest |
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.
|
ListUsersRequest |
withUserPoolId(String userPoolId)
The user pool ID for which you want to list users.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for which you want to list users.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for which you want to list users.
public void setUserPoolId(String userPoolId)
The user pool ID for which you want to list users.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for which you want to list users.
public ListUsersRequest withUserPoolId(String userPoolId)
The user pool ID for which you want to list users.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for which you want to list users.
public List<String> getAttributesToGet()
The attributes to get from the request to list users.
The attributes to get from the request to list users.
public void setAttributesToGet(Collection<String> attributesToGet)
The attributes to get from the request to list users.
attributesToGet - The attributes to get from the request to list users.
public ListUsersRequest withAttributesToGet(String... attributesToGet)
The attributes to get from the request to list users.
Returns a reference to this object so that method calls can be chained together.
attributesToGet - The attributes to get from the request to list users.
public ListUsersRequest withAttributesToGet(Collection<String> attributesToGet)
The attributes to get from the request to list users.
Returns a reference to this object so that method calls can be chained together.
attributesToGet - The attributes to get from the request to list users.
public Integer getLimit()
The limit of the request to list users.
Constraints:
Range: 0 - 60
The limit of the request to list users.
public void setLimit(Integer limit)
The limit of the request to list users.
Constraints:
Range: 0 - 60
limit - The limit of the request to list users.
public ListUsersRequest withLimit(Integer limit)
The limit of the request to list users.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 60
limit - The limit of the request to list users.
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.
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(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 ListUsersRequest 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.
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 String getFilter()
The filter for the list users request.
Constraints:
Length: - 256
The filter for the list users request.
public void setFilter(String filter)
The filter for the list users request.
Constraints:
Length: - 256
filter - The filter for the list users request.
public ListUsersRequest withFilter(String filter)
The filter for the list users request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
filter - The filter for the list users request.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.