public void setGeometry(GeofenceGeometry geometry) {
        this.geometry = geometry;
    }
<p>
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.
</p>
<note>
<p>
The <a href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
geofence polygon</a> format supports a maximum of 1,000 vertices. The <a
href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">Geofence
geobuf</a> format supports a maximum of 100,000 vertices.
</p>
</note>

@param 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.</p> <note>
       <p>
       The <a
       href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html">
       geofence polygon</a> format supports a maximum of 1,000 vertices. The <a
       href="https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html"
       >Geofence geobuf</a> format supports a maximum of 100,000 vertices.
       </p>
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/BatchPutGeofenceRequestEntry.java