public class GetDevicePositionHistoryRequest extends AmazonWebServiceRequest implements java.io.Serializable
Retrieves the device position history from a tracker resource within a specified range of time.
Limitation — Device positions are deleted after one year.
Constructor and Description |
---|
GetDevicePositionHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeviceId()
The device whose position history you want to retrieve.
|
java.util.Date |
getEndTimeExclusive()
Specify the end time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
java.lang.String |
getNextToken()
The pagination token specifying which page of results to return in the
response.
|
java.util.Date |
getStartTimeInclusive()
Specify the start time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
java.lang.String |
getTrackerName()
The tracker resource receiving the request for the device position
history.
|
int |
hashCode() |
void |
setDeviceId(java.lang.String deviceId)
The device whose position history you want to retrieve.
|
void |
setEndTimeExclusive(java.util.Date endTimeExclusive)
Specify the end time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
void |
setNextToken(java.lang.String nextToken)
The pagination token specifying which page of results to return in the
response.
|
void |
setStartTimeInclusive(java.util.Date startTimeInclusive)
Specify the start time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
void |
setTrackerName(java.lang.String trackerName)
The tracker resource receiving the request for the device position
history.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDevicePositionHistoryRequest |
withDeviceId(java.lang.String deviceId)
The device whose position history you want to retrieve.
|
GetDevicePositionHistoryRequest |
withEndTimeExclusive(java.util.Date endTimeExclusive)
Specify the end time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
GetDevicePositionHistoryRequest |
withNextToken(java.lang.String nextToken)
The pagination token specifying which page of results to return in the
response.
|
GetDevicePositionHistoryRequest |
withStartTimeInclusive(java.util.Date startTimeInclusive)
Specify the start time for the position history in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
GetDevicePositionHistoryRequest |
withTrackerName(java.lang.String trackerName)
The tracker resource receiving the request for the device position
history.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getDeviceId()
The device whose position history you want to retrieve.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The device whose position history you want to retrieve.
public void setDeviceId(java.lang.String deviceId)
The device whose position history you want to retrieve.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The device whose position history you want to retrieve.
public GetDevicePositionHistoryRequest withDeviceId(java.lang.String deviceId)
The device whose position history you want to retrieve.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The device whose position history you want to retrieve.
public java.util.Date getEndTimeExclusive()
Specify the end time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
Specify the end time for the position history in
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public void setEndTimeExclusive(java.util.Date endTimeExclusive)
Specify the end time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
endTimeExclusive
-
Specify the end time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public GetDevicePositionHistoryRequest withEndTimeExclusive(java.util.Date endTimeExclusive)
Specify the end time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
Returns a reference to this object so that method calls can be chained together.
endTimeExclusive
-
Specify the end time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public java.lang.String getNextToken()
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
Constraints:
Length: 1 - 2000
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
public void setNextToken(java.lang.String nextToken)
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
Constraints:
Length: 1 - 2000
nextToken
- The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
public GetDevicePositionHistoryRequest withNextToken(java.lang.String nextToken)
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
nextToken
- The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
public java.util.Date getStartTimeInclusive()
Specify the start time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
Specify the start time for the position history in
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public void setStartTimeInclusive(java.util.Date startTimeInclusive)
Specify the start time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
startTimeInclusive
-
Specify the start time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public GetDevicePositionHistoryRequest withStartTimeInclusive(java.util.Date startTimeInclusive)
Specify the start time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after the time
for StartTimeInclusive
.
Returns a reference to this object so that method calls can be chained together.
startTimeInclusive
-
Specify the start time for the position history in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The given time for EndTimeExclusive
must be after
the time for StartTimeInclusive
.
public java.lang.String getTrackerName()
The tracker resource receiving the request for the device position history.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The tracker resource receiving the request for the device position history.
public void setTrackerName(java.lang.String trackerName)
The tracker resource receiving the request for the device position history.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The tracker resource receiving the request for the device position history.
public GetDevicePositionHistoryRequest withTrackerName(java.lang.String trackerName)
The tracker resource receiving the request for the device position history.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The tracker resource receiving the request for the device position history.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.