@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeviceEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListDeviceEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListDeviceEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeviceArn()
The ARN of a device.
|
String |
getEventType()
The event type to filter device events.
|
Integer |
getMaxResults()
The maximum number of results to include in the response.
|
String |
getNextToken()
An optional token returned from a prior request.
|
int |
hashCode() |
void |
setDeviceArn(String deviceArn)
The ARN of a device.
|
void |
setEventType(String eventType)
The event type to filter device events.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
An optional token returned from a prior request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDeviceEventsRequest |
withDeviceArn(String deviceArn)
The ARN of a device.
|
ListDeviceEventsRequest |
withEventType(DeviceEventType eventType)
The event type to filter device events.
|
ListDeviceEventsRequest |
withEventType(String eventType)
The event type to filter device events.
|
ListDeviceEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
ListDeviceEventsRequest |
withNextToken(String nextToken)
An optional token returned from a prior request.
|
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 setDeviceArn(String deviceArn)
The ARN of a device.
deviceArn - The ARN of a device.public String getDeviceArn()
The ARN of a device.
public ListDeviceEventsRequest withDeviceArn(String deviceArn)
The ARN of a device.
deviceArn - The ARN of a device.public void setEventType(String eventType)
The event type to filter device events.
eventType - The event type to filter device events.DeviceEventTypepublic String getEventType()
The event type to filter device events.
DeviceEventTypepublic ListDeviceEventsRequest withEventType(String eventType)
The event type to filter device events.
eventType - The event type to filter device events.DeviceEventTypepublic ListDeviceEventsRequest withEventType(DeviceEventType eventType)
The event type to filter device events.
eventType - The event type to filter device events.DeviceEventTypepublic void setNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.
nextToken - An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response only includes results beyond the token, up to the
value specified by MaxResults.public String getNextToken()
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.
public ListDeviceEventsRequest withNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.
nextToken - An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response only includes results beyond the token, up to the
value specified by MaxResults.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.
maxResults - The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Required.public Integer getMaxResults()
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.
public ListDeviceEventsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.
maxResults - The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Required.public String toString()
toString in class ObjectObject.toString()public ListDeviceEventsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.