@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutGeofenceRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains geofence geometry details.
Constructor and Description |
---|
BatchPutGeofenceRequestEntry() |
Modifier and Type | Method and Description |
---|---|
BatchPutGeofenceRequestEntry |
addGeofencePropertiesEntry(String key,
String value)
Add a single GeofenceProperties entry
|
BatchPutGeofenceRequestEntry |
clearGeofencePropertiesEntries()
Removes all the entries added into GeofenceProperties.
|
BatchPutGeofenceRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getGeofenceId()
The identifier for the geofence to be stored in a given geofence collection.
|
Map<String,String> |
getGeofenceProperties()
Associates one of more properties with the geofence.
|
GeofenceGeometry |
getGeometry()
Contains the details of the position of the geofence.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGeofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
|
void |
setGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence.
|
void |
setGeometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutGeofenceRequestEntry |
withGeofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
|
BatchPutGeofenceRequestEntry |
withGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence.
|
BatchPutGeofenceRequestEntry |
withGeometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence.
|
public void setGeofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
geofenceId
- The identifier for the geofence to be stored in a given geofence collection.public String getGeofenceId()
The identifier for the geofence to be stored in a given geofence collection.
public BatchPutGeofenceRequestEntry withGeofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
geofenceId
- The identifier for the geofence to be stored in a given geofence collection.public Map<String,String> getGeofenceProperties()
Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.
Format: "key" : "value"
Format: "key" : "value"
public void setGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.
Format: "key" : "value"
geofenceProperties
- Associates one of more properties with the geofence. A property is a key-value pair stored with the
geofence and added to any geofence event triggered with that geofence.
Format: "key" : "value"
public BatchPutGeofenceRequestEntry withGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.
Format: "key" : "value"
geofenceProperties
- Associates one of more properties with the geofence. A property is a key-value pair stored with the
geofence and added to any geofence event triggered with that geofence.
Format: "key" : "value"
public BatchPutGeofenceRequestEntry addGeofencePropertiesEntry(String key, String value)
public BatchPutGeofenceRequestEntry clearGeofencePropertiesEntries()
public void setGeometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both
will return a validation error. Each geofence polygon can have a maximum of 1,000 vertices.
public GeofenceGeometry getGeometry()
Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.
Each geofence polygon can have a maximum of 1,000 vertices.
Each geofence polygon can have a maximum of 1,000 vertices.
public BatchPutGeofenceRequestEntry withGeometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both
will return a validation error. Each geofence polygon can have a maximum of 1,000 vertices.
public String toString()
toString
in class Object
Object.toString()
public BatchPutGeofenceRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.