public class ListUserPoolsRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists the user pools associated with an Amazon Web Services account.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
| Constructor and Description |
|---|
ListUserPoolsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results you want the request to return when listing
the user pools.
|
java.lang.String |
getNextToken()
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.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results you want the request to return when listing
the user pools.
|
void |
setNextToken(java.lang.String nextToken)
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.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUserPoolsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results you want the request to return when listing
the user pools.
|
ListUserPoolsRequest |
withNextToken(java.lang.String nextToken)
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getNextToken()
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 setNextToken(java.lang.String nextToken)
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]+
nextToken - 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 ListUserPoolsRequest withNextToken(java.lang.String nextToken)
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]+
nextToken - 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.Integer getMaxResults()
The maximum number of results you want the request to return when listing the user pools.
Constraints:
Range: 1 - 60
The maximum number of results you want the request to return when listing the user pools.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results you want the request to return when listing the user pools.
Constraints:
Range: 1 - 60
maxResults - The maximum number of results you want the request to return when listing the user pools.
public ListUserPoolsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results you want the request to return when listing the user pools.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 60
maxResults - The maximum number of results you want the request to return when listing the user pools.
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