@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateDevicePositionError extends Object implements Serializable, Cloneable, StructuredPojo
Contains error details for each device that failed to update its position.
Constructor and Description |
---|
BatchUpdateDevicePositionError() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateDevicePositionError |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceId()
The device associated with the failed location update.
|
BatchItemError |
getError()
Contains details related to the error code such as the error code and error message.
|
Date |
getSampleTime()
The timestamp at which the device position was determined.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceId(String deviceId)
The device associated with the failed location update.
|
void |
setError(BatchItemError error)
Contains details related to the error code such as the error code and error message.
|
void |
setSampleTime(Date sampleTime)
The timestamp at which the device position was determined.
|
String |
toString()
Returns a string representation of this object.
|
BatchUpdateDevicePositionError |
withDeviceId(String deviceId)
The device associated with the failed location update.
|
BatchUpdateDevicePositionError |
withError(BatchItemError error)
Contains details related to the error code such as the error code and error message.
|
BatchUpdateDevicePositionError |
withSampleTime(Date sampleTime)
The timestamp at which the device position was determined.
|
public void setDeviceId(String deviceId)
The device associated with the failed location update.
deviceId
- The device associated with the failed location update.public String getDeviceId()
The device associated with the failed location update.
public BatchUpdateDevicePositionError withDeviceId(String deviceId)
The device associated with the failed location update.
deviceId
- The device associated with the failed location update.public void setSampleTime(Date sampleTime)
The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
sampleTime
- The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public Date getSampleTime()
The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
YYYY-MM-DDThh:mm:ss.sssZ
.public BatchUpdateDevicePositionError withSampleTime(Date sampleTime)
The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.
sampleTime
- The timestamp at which the device position was determined. Uses ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
.public void setError(BatchItemError error)
Contains details related to the error code such as the error code and error message.
error
- Contains details related to the error code such as the error code and error message.public BatchItemError getError()
Contains details related to the error code such as the error code and error message.
public BatchUpdateDevicePositionError withError(BatchItemError error)
Contains details related to the error code such as the error code and error message.
error
- Contains details related to the error code such as the error code and error message.public String toString()
toString
in class Object
Object.toString()
public BatchUpdateDevicePositionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.