@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 |
getDeviceType()
The type of the device, such as "button".
|
Integer |
getMaxResults()
The maximum number of results to return per request.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setDeviceType(String deviceType)
The type of the device, such as "button".
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per request.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicesRequest |
withDeviceType(String deviceType)
The type of the device, such as "button".
|
ListDevicesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per request.
|
ListDevicesRequest |
withNextToken(String nextToken)
The token to retrieve the next set 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 setDeviceType(String deviceType)
The type of the device, such as "button".
deviceType
- The type of the device, such as "button".public String getDeviceType()
The type of the device, such as "button".
public ListDevicesRequest withDeviceType(String deviceType)
The type of the device, such as "button".
deviceType
- The type of the device, such as "button".public void setMaxResults(Integer maxResults)
The maximum number of results to return per request. If not set, a default value of 100 is used.
maxResults
- The maximum number of results to return per request. If not set, a default value of 100 is used.public Integer getMaxResults()
The maximum number of results to return per request. If not set, a default value of 100 is used.
public ListDevicesRequest withMaxResults(Integer maxResults)
The maximum number of results to return per request. If not set, a default value of 100 is used.
maxResults
- The maximum number of results to return per request. If not set, a default value of 100 is used.public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String getNextToken()
The token to retrieve the next set of results.
public ListDevicesRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDevicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()