@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() |
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.
|
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, copyBaseTo, 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. 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.DeviceEventTypepublic 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.
DeviceEventTypepublic 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.DeviceEventTypepublic 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.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. 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 ObjectObject.toString()public ListDeviceEventsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.