public class ListDevicesRequest extends AmazonWebServiceRequest implements Serializable
Lists the devices.
| Constructor and Description |
|---|
ListDevicesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access tokens for the request to list devices.
|
Integer |
getLimit()
The limit of the device request.
|
String |
getPaginationToken()
The pagination token for the list request.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access tokens for the request to list devices.
|
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; useful for testing and
debugging.
|
ListDevicesRequest |
withAccessToken(String accessToken)
The access tokens for the request to list devices.
|
ListDevicesRequest |
withLimit(Integer limit)
The limit of the device request.
|
ListDevicesRequest |
withPaginationToken(String paginationToken)
The pagination token for the list request.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAccessToken()
The access tokens for the request to list devices.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access tokens for the request to list devices.
public void setAccessToken(String accessToken)
The access tokens for the request to list devices.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access tokens for the request to list devices.
public ListDevicesRequest withAccessToken(String accessToken)
The access tokens for the request to list devices.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access tokens for the request to list devices.
public Integer getLimit()
The limit of the device request.
Constraints:
Range: 0 - 60
The limit of the device request.
public void setLimit(Integer limit)
The limit of the device request.
Constraints:
Range: 0 - 60
limit - The limit of the device request.
public ListDevicesRequest withLimit(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 String getPaginationToken()
The pagination token for the list request.
Constraints:
Length: 1 -
Pattern: [\S]+
The pagination token for the list request.
public void setPaginationToken(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.