Class ListUserPoolsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cognitoidp.model.ListUserPoolsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListUserPoolsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to list user pools.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListUserPoolsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUserPoolsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetMaxResults()The maximum number of results you want the request to return when listing the user pools.StringgetNextToken()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.inthashCode()voidsetMaxResults(Integer maxResults)The maximum number of results you want the request to return when listing the user pools.voidsetNextToken(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListUserPoolsRequestwithMaxResults(Integer maxResults)The maximum number of results you want the request to return when listing the user pools.ListUserPoolsRequestwithNextToken(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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setNextToken
public void setNextToken(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.
- Parameters:
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.
-
getNextToken
public 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.
- Returns:
- 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.
-
withNextToken
public ListUserPoolsRequest withNextToken(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of results you want the request to return when listing the user pools.
- Parameters:
maxResults- The maximum number of results you want the request to return when listing the user pools.
-
getMaxResults
public Integer getMaxResults()
The maximum number of results you want the request to return when listing the user pools.
- Returns:
- The maximum number of results you want the request to return when listing the user pools.
-
withMaxResults
public ListUserPoolsRequest withMaxResults(Integer maxResults)
The maximum number of results you want the request to return when listing the user pools.
- Parameters:
maxResults- The maximum number of results you want the request to return when listing the user pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListUserPoolsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-