@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 to specify 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 to specify 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 to specify 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 void setGeometry(GeofenceGeometry geometry)
Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
geometry
- Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon
encoded in Geobuf format. Including multiple selections will return a validation error. The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
public GeofenceGeometry getGeometry()
Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
public BatchPutGeofenceRequestEntry withGeometry(GeofenceGeometry geometry)
Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
geometry
- Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon
encoded in Geobuf format. Including multiple selections will return a validation error. The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
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 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.