@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutGeofenceError extends Object implements Serializable, Cloneable, StructuredPojo
Contains error details for each geofence that failed to be stored in a given geofence collection.
| Constructor and Description |
|---|
BatchPutGeofenceError() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutGeofenceError |
clone() |
boolean |
equals(Object obj) |
BatchItemError |
getError()
Contains details associated to the batch error.
|
String |
getGeofenceId()
The geofence associated with the error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(BatchItemError error)
Contains details associated to the batch error.
|
void |
setGeofenceId(String geofenceId)
The geofence associated with the error message.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutGeofenceError |
withError(BatchItemError error)
Contains details associated to the batch error.
|
BatchPutGeofenceError |
withGeofenceId(String geofenceId)
The geofence associated with the error message.
|
public void setGeofenceId(String geofenceId)
The geofence associated with the error message.
geofenceId - The geofence associated with the error message.public String getGeofenceId()
The geofence associated with the error message.
public BatchPutGeofenceError withGeofenceId(String geofenceId)
The geofence associated with the error message.
geofenceId - The geofence associated with the error message.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 BatchPutGeofenceError withError(BatchItemError error)
Contains details associated to the batch error.
error - Contains details associated to the batch error.public String toString()
toString in class ObjectObject.toString()public BatchPutGeofenceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.