@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicePositionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDevicePositionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDevicePositionsResult |
clone() |
boolean |
equals(Object obj) |
List<ListDevicePositionsResponseEntry> |
getEntries()
Contains details about each device's last known position.
|
String |
getNextToken()
A pagination token indicating there are additional pages available.
|
int |
hashCode() |
void |
setEntries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position.
|
void |
setNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicePositionsResult |
withEntries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position.
|
ListDevicePositionsResult |
withEntries(ListDevicePositionsResponseEntry... entries)
Contains details about each device's last known position.
|
ListDevicePositionsResult |
withNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ListDevicePositionsResponseEntry> getEntries()
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
public void setEntries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
entries - Contains details about each device's last known position. These details includes the device ID, the time
when the position was sampled on the device, the time that the service received the update, and the most
recent coordinates.public ListDevicePositionsResult withEntries(ListDevicePositionsResponseEntry... entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection) or withEntries(java.util.Collection) if you want to override
the existing values.
entries - Contains details about each device's last known position. These details includes the device ID, the time
when the position was sampled on the device, the time that the service received the update, and the most
recent coordinates.public ListDevicePositionsResult withEntries(Collection<ListDevicePositionsResponseEntry> entries)
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
entries - Contains details about each device's last known position. These details includes the device ID, the time
when the position was sampled on the device, the time that the service received the update, and the most
recent coordinates.public void setNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken - A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String getNextToken()
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
public ListDevicePositionsResult withNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken - A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String toString()
toString in class ObjectObject.toString()public ListDevicePositionsResult clone()
Copyright © 2021. All rights reserved.