@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getDeviceAggregatedStatusFilter()
Filter based on a device's status.
|
Integer |
getMaxResults()
The maximum number of devices to return in one page of results.
|
String |
getNameFilter()
Filter based on device's name.
|
String |
getNextToken()
Specify the pagination token from a previous request to retrieve the next page of results.
|
String |
getSortBy()
The target column to be sorted on.
|
String |
getSortOrder()
The sorting order for the returned list.
|
int |
hashCode() |
void |
setDeviceAggregatedStatusFilter(String deviceAggregatedStatusFilter)
Filter based on a device's status.
|
void |
setMaxResults(Integer maxResults)
The maximum number of devices to return in one page of results.
|
void |
setNameFilter(String nameFilter)
Filter based on device's name.
|
void |
setNextToken(String nextToken)
Specify the pagination token from a previous request to retrieve the next page of results.
|
void |
setSortBy(String sortBy)
The target column to be sorted on.
|
void |
setSortOrder(String sortOrder)
The sorting order for the returned list.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicesRequest |
withDeviceAggregatedStatusFilter(DeviceAggregatedStatus deviceAggregatedStatusFilter)
Filter based on a device's status.
|
ListDevicesRequest |
withDeviceAggregatedStatusFilter(String deviceAggregatedStatusFilter)
Filter based on a device's status.
|
ListDevicesRequest |
withMaxResults(Integer maxResults)
The maximum number of devices to return in one page of results.
|
ListDevicesRequest |
withNameFilter(String nameFilter)
Filter based on device's name.
|
ListDevicesRequest |
withNextToken(String nextToken)
Specify the pagination token from a previous request to retrieve the next page of results.
|
ListDevicesRequest |
withSortBy(ListDevicesSortBy sortBy)
The target column to be sorted on.
|
ListDevicesRequest |
withSortBy(String sortBy)
The target column to be sorted on.
|
ListDevicesRequest |
withSortOrder(SortOrder sortOrder)
The sorting order for the returned list.
|
ListDevicesRequest |
withSortOrder(String sortOrder)
The sorting order for the returned list.
|
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, withSdkRequestTimeoutpublic void setDeviceAggregatedStatusFilter(String deviceAggregatedStatusFilter)
Filter based on a device's status.
deviceAggregatedStatusFilter - Filter based on a device's status.DeviceAggregatedStatuspublic String getDeviceAggregatedStatusFilter()
Filter based on a device's status.
DeviceAggregatedStatuspublic ListDevicesRequest withDeviceAggregatedStatusFilter(String deviceAggregatedStatusFilter)
Filter based on a device's status.
deviceAggregatedStatusFilter - Filter based on a device's status.DeviceAggregatedStatuspublic ListDevicesRequest withDeviceAggregatedStatusFilter(DeviceAggregatedStatus deviceAggregatedStatusFilter)
Filter based on a device's status.
deviceAggregatedStatusFilter - Filter based on a device's status.DeviceAggregatedStatuspublic void setMaxResults(Integer maxResults)
The maximum number of devices to return in one page of results.
maxResults - The maximum number of devices to return in one page of results.public Integer getMaxResults()
The maximum number of devices to return in one page of results.
public ListDevicesRequest withMaxResults(Integer maxResults)
The maximum number of devices to return in one page of results.
maxResults - The maximum number of devices to return in one page of results.public void setNameFilter(String nameFilter)
Filter based on device's name. Prefixes supported.
nameFilter - Filter based on device's name. Prefixes supported.public String getNameFilter()
Filter based on device's name. Prefixes supported.
public ListDevicesRequest withNameFilter(String nameFilter)
Filter based on device's name. Prefixes supported.
nameFilter - Filter based on device's name. Prefixes supported.public void setNextToken(String nextToken)
Specify the pagination token from a previous request to retrieve the next page of results.
nextToken - Specify the pagination token from a previous request to retrieve the next page of results.public String getNextToken()
Specify the pagination token from a previous request to retrieve the next page of results.
public ListDevicesRequest withNextToken(String nextToken)
Specify the pagination token from a previous request to retrieve the next page of results.
nextToken - Specify the pagination token from a previous request to retrieve the next page of results.public void setSortBy(String sortBy)
The target column to be sorted on. Default column sort is CREATED_TIME.
sortBy - The target column to be sorted on. Default column sort is CREATED_TIME.ListDevicesSortBypublic String getSortBy()
The target column to be sorted on. Default column sort is CREATED_TIME.
ListDevicesSortBypublic ListDevicesRequest withSortBy(String sortBy)
The target column to be sorted on. Default column sort is CREATED_TIME.
sortBy - The target column to be sorted on. Default column sort is CREATED_TIME.ListDevicesSortBypublic ListDevicesRequest withSortBy(ListDevicesSortBy sortBy)
The target column to be sorted on. Default column sort is CREATED_TIME.
sortBy - The target column to be sorted on. Default column sort is CREATED_TIME.ListDevicesSortBypublic void setSortOrder(String sortOrder)
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.
sortOrder - The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME.
Otherwise, SortOrder is ASCENDING.SortOrderpublic String getSortOrder()
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.
SortOrderpublic ListDevicesRequest withSortOrder(String sortOrder)
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.
sortOrder - The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME.
Otherwise, SortOrder is ASCENDING.SortOrderpublic ListDevicesRequest withSortOrder(SortOrder sortOrder)
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING.
sortOrder - The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME.
Otherwise, SortOrder is ASCENDING.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ListDevicesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()