public TrackingFilterGeometry withPolygon(java.util.List<java.util.List<Double>>... polygon) {
        if (this.polygon == null) {
            setPolygon(new java.util.ArrayList<java.util.List<java.util.List<Double>>>(polygon.length));
        }
        for (java.util.List<java.util.List<Double>> ele : polygon) {
            this.polygon.add(ele);
        }
        return this;
    }
<p>
The set of arrays which define the polygon. A polygon can have between 4 and 1000 vertices.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPolygon(java.util.Collection)} or {@link #withPolygon(java.util.Collection)} if you want to override
the existing values.
</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