public class BatchEvaluateGeofencesError
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeviceId()
The device associated with the position evaluation error.
|
BatchItemError |
getError()
Contains details associated to the batch error.
|
java.util.Date |
getSampleTime()
Specifies a timestamp for when the error occurred in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
int |
hashCode() |
void |
setDeviceId(java.lang.String deviceId)
The device associated with the position evaluation error.
|
void |
setError(BatchItemError error)
Contains details associated to the batch error.
|
void |
setSampleTime(java.util.Date sampleTime)
Specifies a timestamp for when the error occurred 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.
|
BatchEvaluateGeofencesError |
withDeviceId(java.lang.String deviceId)
The device associated with the position evaluation error.
|
BatchEvaluateGeofencesError |
withError(BatchItemError error)
Contains details associated to the batch error.
|
BatchEvaluateGeofencesError |
withSampleTime(java.util.Date sampleTime)
Specifies a timestamp for when the error occurred in ISO
8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
public java.lang.String getDeviceId()
The device associated with the position evaluation error.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The device associated with the position evaluation error.
public void setDeviceId(java.lang.String deviceId)
The device associated with the position evaluation error.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
deviceId
- The device associated with the position evaluation error.
public BatchEvaluateGeofencesError withDeviceId(java.lang.String deviceId)
The device associated with the position evaluation error.
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 position evaluation error.
public BatchItemError getError()
Contains details associated to the batch error.
Contains details associated to the batch error.
public void setError(BatchItemError error)
Contains details associated to the batch error.
error
- Contains details associated to the batch error.
public BatchEvaluateGeofencesError withError(BatchItemError error)
Contains details associated to the batch error.
Returns a reference to this object so that method calls can be chained together.
error
- Contains details associated to the batch error.
public java.util.Date getSampleTime()
Specifies a timestamp for when the error occurred in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
Specifies a timestamp for when the error occurred in ISO
8601 format: YYYY-MM-DDThh:mm:ss.sssZ
public void setSampleTime(java.util.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 BatchEvaluateGeofencesError withSampleTime(java.util.Date sampleTime)
Specifies a timestamp for when the error occurred 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
-
Specifies a timestamp for when the error occurred 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.