@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDevicePositionHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDevicePositionHistoryResult() |
Modifier and Type | Method and Description |
---|---|
GetDevicePositionHistoryResult |
clone() |
boolean |
equals(Object obj) |
List<DevicePosition> |
getDevicePositions()
Contains the position history details for the requested device.
|
String |
getNextToken()
A pagination token indicating there are additional pages available.
|
int |
hashCode() |
void |
setDevicePositions(Collection<DevicePosition> devicePositions)
Contains the position history details for the requested device.
|
void |
setNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
String |
toString()
Returns a string representation of this object.
|
GetDevicePositionHistoryResult |
withDevicePositions(Collection<DevicePosition> devicePositions)
Contains the position history details for the requested device.
|
GetDevicePositionHistoryResult |
withDevicePositions(DevicePosition... devicePositions)
Contains the position history details for the requested device.
|
GetDevicePositionHistoryResult |
withNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DevicePosition> getDevicePositions()
Contains the position history details for the requested device.
public void setDevicePositions(Collection<DevicePosition> devicePositions)
Contains the position history details for the requested device.
devicePositions
- Contains the position history details for the requested device.public GetDevicePositionHistoryResult withDevicePositions(DevicePosition... devicePositions)
Contains the position history details for the requested device.
NOTE: This method appends the values to the existing list (if any). Use
setDevicePositions(java.util.Collection)
or withDevicePositions(java.util.Collection)
if you
want to override the existing values.
devicePositions
- Contains the position history details for the requested device.public GetDevicePositionHistoryResult withDevicePositions(Collection<DevicePosition> devicePositions)
Contains the position history details for the requested device.
devicePositions
- Contains the position history details for the requested device.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 GetDevicePositionHistoryResult 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 Object
Object.toString()
public GetDevicePositionHistoryResult clone()