public TrackingFilterGeometry withPolygon(java.util.Collection<java.util.List<java.util.List<Double>>> polygon) {
        setPolygon(polygon);
        return this;
    }
<p>
The set of arrays which define the polygon. A polygon can have between 4 and 1000 vertices.
</p>

@param polygon
       The set of arrays which define the polygon. A polygon can have between 4 and 1000 vertices.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/TrackingFilterGeometry.java