public class ListDevicesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists the sign-in devices that Amazon Cognito has registered to the current user.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
| Constructor and Description |
|---|
ListDevicesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessToken()
A valid access token that Amazon Cognito issued to the user whose list of
devices you want to view.
|
java.lang.Integer |
getLimit()
The limit of the device request.
|
java.lang.String |
getPaginationToken()
The pagination token for the list request.
|
int |
hashCode() |
void |
setAccessToken(java.lang.String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of
devices you want to view.
|
void |
setLimit(java.lang.Integer limit)
The limit of the device request.
|
void |
setPaginationToken(java.lang.String paginationToken)
The pagination token for the list request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDevicesRequest |
withAccessToken(java.lang.String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of
devices you want to view.
|
ListDevicesRequest |
withLimit(java.lang.Integer limit)
The limit of the device request.
|
ListDevicesRequest |
withPaginationToken(java.lang.String paginationToken)
The pagination token for the list request.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
public void setAccessToken(java.lang.String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
public ListDevicesRequest withAccessToken(java.lang.String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
public java.lang.Integer getLimit()
The limit of the device request.
Constraints:
Range: 0 - 60
The limit of the device request.
public void setLimit(java.lang.Integer limit)
The limit of the device request.
Constraints:
Range: 0 - 60
limit - The limit of the device request.
public ListDevicesRequest withLimit(java.lang.Integer limit)
The limit of the device request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 60
limit - The limit of the device request.
public java.lang.String getPaginationToken()
The pagination token for the list request.
Constraints:
Length: 1 -
Pattern: [\S]+
The pagination token for the list request.
public void setPaginationToken(java.lang.String paginationToken)
The pagination token for the list request.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token for the list request.
public ListDevicesRequest withPaginationToken(java.lang.String paginationToken)
The pagination token for the list request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token for the list request.
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