public class BatchPutGeofenceError
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
BatchItemError |
getError()
Contains details associated to the batch error.
|
java.lang.String |
getGeofenceId()
The geofence associated with the error message.
|
int |
hashCode() |
void |
setError(BatchItemError error)
Contains details associated to the batch error.
|
void |
setGeofenceId(java.lang.String geofenceId)
The geofence associated with the error message.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchPutGeofenceError |
withError(BatchItemError error)
Contains details associated to the batch error.
|
BatchPutGeofenceError |
withGeofenceId(java.lang.String geofenceId)
The geofence associated with the error message.
|
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 BatchPutGeofenceError 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.lang.String getGeofenceId()
The geofence associated with the error message.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The geofence associated with the error message.
public void setGeofenceId(java.lang.String geofenceId)
The geofence associated with the error message.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
geofenceId
- The geofence associated with the error message.
public BatchPutGeofenceError withGeofenceId(java.lang.String geofenceId)
The geofence associated with the error message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
geofenceId
- The geofence associated with the error message.
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.