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