@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDevicePositionError extends Object implements Serializable, Cloneable, StructuredPojo
Contains error details for each device that didn't return a position.
| Constructor and Description |
|---|
BatchGetDevicePositionError() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetDevicePositionError |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceId()
The ID of the device that didn't return a position.
|
BatchItemError |
getError()
Contains details related to the error code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeviceId(String deviceId)
The ID of the device that didn't return a position.
|
void |
setError(BatchItemError error)
Contains details related to the error code.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDevicePositionError |
withDeviceId(String deviceId)
The ID of the device that didn't return a position.
|
BatchGetDevicePositionError |
withError(BatchItemError error)
Contains details related to the error code.
|
public void setDeviceId(String deviceId)
The ID of the device that didn't return a position.
deviceId - The ID of the device that didn't return a position.public String getDeviceId()
The ID of the device that didn't return a position.
public BatchGetDevicePositionError withDeviceId(String deviceId)
The ID of the device that didn't return a position.
deviceId - The ID of the device that didn't return a position.public void setError(BatchItemError error)
Contains details related to the error code.
error - Contains details related to the error code.public BatchItemError getError()
Contains details related to the error code.
public BatchGetDevicePositionError withError(BatchItemError error)
Contains details related to the error code.
error - Contains details related to the error code.public String toString()
toString in class ObjectObject.toString()public BatchGetDevicePositionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.