public class BatchGetDevicePositionResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BatchGetDevicePositionResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DevicePosition> |
getDevicePositions()
Contains device position details such as the device ID, position, and
timestamps for when the position was received and sampled.
|
java.util.List<BatchGetDevicePositionError> |
getErrors()
Contains error details for each device that failed to send its position
to the tracker resource.
|
int |
hashCode() |
void |
setDevicePositions(java.util.Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and
timestamps for when the position was received and sampled.
|
void |
setErrors(java.util.Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position
to the tracker resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDevicePositionResult |
withDevicePositions(java.util.Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and
timestamps for when the position was received and sampled.
|
BatchGetDevicePositionResult |
withDevicePositions(DevicePosition... devicePositions)
Contains device position details such as the device ID, position, and
timestamps for when the position was received and sampled.
|
BatchGetDevicePositionResult |
withErrors(BatchGetDevicePositionError... errors)
Contains error details for each device that failed to send its position
to the tracker resource.
|
BatchGetDevicePositionResult |
withErrors(java.util.Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position
to the tracker resource.
|
public java.util.List<DevicePosition> getDevicePositions()
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
public void setDevicePositions(java.util.Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
public BatchGetDevicePositionResult withDevicePositions(DevicePosition... devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
Returns a reference to this object so that method calls can be chained together.
devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
public BatchGetDevicePositionResult withDevicePositions(java.util.Collection<DevicePosition> devicePositions)
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
Returns a reference to this object so that method calls can be chained together.
devicePositions - Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
public java.util.List<BatchGetDevicePositionError> getErrors()
Contains error details for each device that failed to send its position to the tracker resource.
Contains error details for each device that failed to send its position to the tracker resource.
public void setErrors(java.util.Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
errors - Contains error details for each device that failed to send its position to the tracker resource.
public BatchGetDevicePositionResult withErrors(BatchGetDevicePositionError... errors)
Contains error details for each device that failed to send its position to the tracker resource.
Returns a reference to this object so that method calls can be chained together.
errors - Contains error details for each device that failed to send its position to the tracker resource.
public BatchGetDevicePositionResult withErrors(java.util.Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
Returns a reference to this object so that method calls can be chained together.
errors - Contains error details for each device that failed to send its position to the tracker resource.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.