@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, withSdkRequestTimeout
public 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. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
eventType
- The event type to filter device events. If EventType isn't specified, this returns a list of all device
events in reverse chronological order. If EventType is specified, this returns a list of device events for
that EventType in reverse chronological order.DeviceEventType
public String getEventType()
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
DeviceEventType
public ListDeviceEventsRequest withEventType(String eventType)
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
eventType
- The event type to filter device events. If EventType isn't specified, this returns a list of all device
events in reverse chronological order. If EventType is specified, this returns a list of device events for
that EventType in reverse chronological order.DeviceEventType
public ListDeviceEventsRequest withEventType(DeviceEventType eventType)
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
eventType
- The event type to filter device events. If EventType isn't specified, this returns a list of all device
events in reverse chronological order. If EventType is specified, this returns a list of device events for
that EventType in reverse chronological order.DeviceEventType
public 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. When the end of results is reached, the response has a value of null.
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. When the end of results is reached, the response has a value of null.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. When the end of results is reached, the response has a value of null.
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. When the end of results is reached, the response has a value of null.
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. When the end of results is reached, the response has a value of null.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
maxResults
- The maximum number of results to include in the response. The default value is 50. If more results exist
than the specified MaxResults value, a token is included in the response so that the remaining results can
be retrieved.public Integer getMaxResults()
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
public ListDeviceEventsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
maxResults
- The maximum number of results to include in the response. The default value is 50. If more results exist
than the specified MaxResults value, a token is included in the response so that the remaining results can
be retrieved.public String toString()
toString
in class Object
Object.toString()
public ListDeviceEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.