@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to list the devices.
NOOP
Constructor and Description |
---|
ListDevicesRequest() |
Modifier and Type | Method and Description |
---|---|
ListDevicesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
|
Integer |
getLimit()
The limit of the device request.
|
String |
getPaginationToken()
The pagination token for the list request.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
|
void |
setLimit(Integer limit)
The limit of the device request.
|
void |
setPaginationToken(String paginationToken)
The pagination token for the list request.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicesRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
|
ListDevicesRequest |
withLimit(Integer limit)
The limit of the device request.
|
ListDevicesRequest |
withPaginationToken(String paginationToken)
The pagination token for the list request.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
accessToken
- A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
public ListDevicesRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.
accessToken
- A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.public void setLimit(Integer limit)
The limit of the device request.
limit
- The limit of the device request.public Integer getLimit()
The limit of the device request.
public ListDevicesRequest withLimit(Integer limit)
The limit of the device request.
limit
- The limit of the device request.public void setPaginationToken(String paginationToken)
The pagination token for the list request.
paginationToken
- The pagination token for the list request.public String getPaginationToken()
The pagination token for the list request.
public ListDevicesRequest withPaginationToken(String paginationToken)
The pagination token for the list request.
paginationToken
- The pagination token for the list request.public String toString()
toString
in class Object
Object.toString()
public ListDevicesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.