driver-core/src/main/com/mongodb/client/model/Filters.java
public static Bson geoWithin(final String fieldName, final Bson geometry) {
        return new GeometryOperatorFilter<Bson>("$geoWithin", fieldName, geometry);
    }
public static Bson geoWithin(final String fieldName, final Bson geometry) {
        return new GeometryOperatorFilter<Bson>("$geoWithin", fieldName, geometry);
    }
Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.

@param fieldName the field name
@param geometry  the bounding GeoJSON geometry object
@return the filter
@since 3.1
@mongodb.driver.manual reference/operator/query/geoWithin/ $geoWithin
@mongodb.server.release 2.4