@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
This API operation returns a limited number of results.
|
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)
This API operation returns a limited number of results.
|
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)
This API operation returns a limited number of results.
|
addHandlerContext, 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)
This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
paginationToken
- This API operation returns a limited number of results. The pagination token is an identifier that you can
present in an additional API request with the same parameters. When you include the pagination token,
Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new
pagination token. By use of this token, you can paginate through the full list of items.public String getPaginationToken()
This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
public ListDevicesRequest withPaginationToken(String paginationToken)
This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
paginationToken
- This API operation returns a limited number of results. The pagination token is an identifier that you can
present in an additional API request with the same parameters. When you include the pagination token,
Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new
pagination token. By use of this token, you can paginate through the full list of items.public String toString()
toString
in class Object
Object.toString()
public ListDevicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()