@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 |
clone() |
boolean |
equals(Object obj) |
String |
getGeofenceId()
The identifier for the geofence to be stored in a given geofence collection.
|
GeofenceGeometry |
getGeometry()
Contains the polygon 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 |
setGeometry(GeofenceGeometry geometry)
Contains the polygon 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 |
withGeometry(GeofenceGeometry geometry)
Contains the polygon 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 polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the polygon details to specify the position of the geofence. Each geofence polygon can have a maximum of 1,000 vertices.
public GeofenceGeometry getGeometry()
Contains the polygon details to specify the position of the geofence.
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 polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the polygon details to specify the position of the geofence. 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.