@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDevicePositionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetDevicePositionResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDevicePositionResult |
clone() |
boolean |
equals(Object obj) |
List<DevicePosition> |
getDevicePositions()
Contains device position details such as the device ID, position, and timestamps for when the position was
received and sampled.
|
List<BatchGetDevicePositionError> |
getErrors()
Contains error details for each device that failed to send its position to the tracker resource.
|
int |
hashCode() |
void |
setDevicePositions(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(Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDevicePositionResult |
withDevicePositions(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(Collection<BatchGetDevicePositionError> errors)
Contains error details for each device that failed to send its position to the tracker resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchGetDevicePositionError> getErrors()
Contains error details for each device that failed to send its position to the tracker resource.
public void setErrors(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.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- Contains error details for each device that failed to send its position to the tracker resource.public BatchGetDevicePositionResult withErrors(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 List<DevicePosition> getDevicePositions()
Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.
public void setDevicePositions(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.
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 device position details such as the device ID, position, and timestamps for when the position was
received and sampled.public BatchGetDevicePositionResult withDevicePositions(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 String toString()
toString
in class Object
Object.toString()
public BatchGetDevicePositionResult clone()