public class ListResourceServersRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists the resource servers for a user pool.
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 |
|---|
ListResourceServersRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of resource servers to return.
|
java.lang.String |
getNextToken()
A pagination token.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of resource servers to return.
|
void |
setNextToken(java.lang.String nextToken)
A pagination token.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListResourceServersRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of resource servers to return.
|
ListResourceServersRequest |
withNextToken(java.lang.String nextToken)
A pagination token.
|
ListResourceServersRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public ListResourceServersRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
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 the user pool.
public java.lang.Integer getMaxResults()
The maximum number of resource servers to return.
Constraints:
Range: 1 - 50
The maximum number of resource servers to return.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of resource servers to return.
Constraints:
Range: 1 - 50
maxResults - The maximum number of resource servers to return.
public ListResourceServersRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of resource servers to return.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
maxResults - The maximum number of resource servers to return.
public java.lang.String getNextToken()
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
A pagination token.
public void setNextToken(java.lang.String nextToken)
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken - A pagination token.
public ListResourceServersRequest withNextToken(java.lang.String nextToken)
A pagination token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
nextToken - A pagination token.
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