@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchDevicesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchDevicesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<SearchDevicesFilter> |
getFilters()
The filter values to use to search for a device.
|
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token used for pagination of results returned in the response.
|
int |
hashCode() |
void |
setFilters(Collection<SearchDevicesFilter> filters)
The filter values to use to search for a device.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
SearchDevicesRequest |
withFilters(Collection<SearchDevicesFilter> filters)
The filter values to use to search for a device.
|
SearchDevicesRequest |
withFilters(SearchDevicesFilter... filters)
The filter values to use to search for a device.
|
SearchDevicesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
SearchDevicesRequest |
withNextToken(String nextToken)
A token used for pagination of results returned in the response.
|
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 List<SearchDevicesFilter> getFilters()
The filter values to use to search for a device.
public void setFilters(Collection<SearchDevicesFilter> filters)
The filter values to use to search for a device.
filters
- The filter values to use to search for a device.public SearchDevicesRequest withFilters(SearchDevicesFilter... filters)
The filter values to use to search for a device.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filter values to use to search for a device.public SearchDevicesRequest withFilters(Collection<SearchDevicesFilter> filters)
The filter values to use to search for a device.
filters
- The filter values to use to search for a device.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public SearchDevicesRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public void setNextToken(String nextToken)
A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
nextToken
- A token used for pagination of results returned in the response. Use the token returned from the previous
request continue results where the previous request ended.public String getNextToken()
A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
public SearchDevicesRequest withNextToken(String nextToken)
A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
nextToken
- A token used for pagination of results returned in the response. Use the token returned from the previous
request continue results where the previous request ended.public String toString()
toString
in class Object
Object.toString()
public SearchDevicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()