public class AdminListDevicesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists devices, as an administrator.
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 |
|---|
AdminListDevicesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The limit of the devices request.
|
java.lang.String |
getPaginationToken()
The pagination token.
|
java.lang.String |
getUsername()
The user name.
|
java.lang.String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The limit of the devices request.
|
void |
setPaginationToken(java.lang.String paginationToken)
The pagination token.
|
void |
setUsername(java.lang.String username)
The user name.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminListDevicesRequest |
withLimit(java.lang.Integer limit)
The limit of the devices request.
|
AdminListDevicesRequest |
withPaginationToken(java.lang.String paginationToken)
The pagination token.
|
AdminListDevicesRequest |
withUsername(java.lang.String username)
The user name.
|
AdminListDevicesRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public AdminListDevicesRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID.
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.
public java.lang.String getUsername()
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name.
public void setUsername(java.lang.String username)
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name.
public AdminListDevicesRequest withUsername(java.lang.String username)
The user name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name.
public java.lang.Integer getLimit()
The limit of the devices request.
Constraints:
Range: 0 - 60
The limit of the devices request.
public void setLimit(java.lang.Integer limit)
The limit of the devices request.
Constraints:
Range: 0 - 60
limit - The limit of the devices request.
public AdminListDevicesRequest withLimit(java.lang.Integer limit)
The limit of the devices request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 60
limit - The limit of the devices request.
public java.lang.String getPaginationToken()
The pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
The pagination token.
public void setPaginationToken(java.lang.String paginationToken)
The pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token.
public AdminListDevicesRequest withPaginationToken(java.lang.String paginationToken)
The pagination token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The 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