@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 |
getDeviceId()
The unique identifier of the device.
|
Date |
getFromTimeStamp()
The start date for the device event query, in ISO8061 format.
|
Integer |
getMaxResults()
The maximum number of results to return per request.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
Date |
getToTimeStamp()
The end date for the device event query, in ISO8061 format.
|
int |
hashCode() |
void |
setDeviceId(String deviceId)
The unique identifier of the device.
|
void |
setFromTimeStamp(Date fromTimeStamp)
The start date for the device event query, in ISO8061 format.
|
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.
|
void |
setToTimeStamp(Date toTimeStamp)
The end date for the device event query, in ISO8061 format.
|
String |
toString()
Returns a string representation of this object.
|
ListDeviceEventsRequest |
withDeviceId(String deviceId)
The unique identifier of the device.
|
ListDeviceEventsRequest |
withFromTimeStamp(Date fromTimeStamp)
The start date for the device event query, in ISO8061 format.
|
ListDeviceEventsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per request.
|
ListDeviceEventsRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListDeviceEventsRequest |
withToTimeStamp(Date toTimeStamp)
The end date for the device event query, in ISO8061 format.
|
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 setDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public String getDeviceId()
The unique identifier of the device.
public ListDeviceEventsRequest withDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public void setFromTimeStamp(Date fromTimeStamp)
The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
fromTimeStamp
- The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Zpublic Date getFromTimeStamp()
The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
public ListDeviceEventsRequest withFromTimeStamp(Date fromTimeStamp)
The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
fromTimeStamp
- The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Zpublic 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 ListDeviceEventsRequest 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 ListDeviceEventsRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public void setToTimeStamp(Date toTimeStamp)
The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
toTimeStamp
- The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Zpublic Date getToTimeStamp()
The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
public ListDeviceEventsRequest withToTimeStamp(Date toTimeStamp)
The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
toTimeStamp
- The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Zpublic String toString()
toString
in class Object
Object.toString()
public ListDeviceEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()