public class BatchUpdateDevicePositionError
extends java.lang.Object
implements java.io.Serializable
Contains error details for each device that failed to update its position.
Constructor and Description |
---|
BatchUpdateDevicePositionError() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.Date |
getSampleTime()
The timestamp for when a position sample was attempted in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
int |
hashCode() |
void |
setDeviceId(java.lang.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(java.util.Date sampleTime)
The timestamp for when a position sample was attempted in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchUpdateDevicePositionError |
withDeviceId(java.lang.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(java.util.Date sampleTime)
The timestamp for when a position sample was attempted in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ . |
public java.lang.String getDeviceId()
The device associated with the failed location update.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The device associated with the failed location update.
public void setDeviceId(java.lang.String deviceId)
The device associated with the failed location update.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The device associated with the failed location update.
public BatchUpdateDevicePositionError withDeviceId(java.lang.String deviceId)
The device associated with the failed location update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The device associated with the failed location update.
public BatchItemError getError()
Contains details related to the error code such as the error code and error message.
Contains details related to the error code such as the error code and error message.
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 BatchUpdateDevicePositionError withError(BatchItemError error)
Contains details related to the error code such as the error code and error message.
Returns a reference to this object so that method calls can be chained together.
error
- Contains details related to the error code such as the error code and error message.
public java.util.Date getSampleTime()
The timestamp for when a position sample was attempted in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
The timestamp for when a position sample was attempted in
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public void setSampleTime(java.util.Date sampleTime)
The timestamp for when a position sample was attempted in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
sampleTime
-
The timestamp for when a position sample was attempted in
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public BatchUpdateDevicePositionError withSampleTime(java.util.Date sampleTime)
The timestamp for when a position sample was attempted in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
Returns a reference to this object so that method calls can be chained together.
sampleTime
-
The timestamp for when a position sample was attempted in
ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.