public void setPolygon(java.util.Collection<java.util.List<java.util.List<Double>>> polygon) {
        if (polygon == null) {
            this.polygon = null;
            return;
        }

        this.polygon = new java.util.ArrayList<java.util.List<java.util.List<Double>>>(polygon);
    }
<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.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/TrackingFilterGeometry.java