public MetricV2 withMetricFilters(MetricFilterV2... metricFilters) {
        if (this.metricFilters == null) {
            setMetricFilters(new java.util.ArrayList<MetricFilterV2>(metricFilters.length));
        }
        for (MetricFilterV2 ele : metricFilters) {
            this.metricFilters.add(ele);
        }
        return this;
    }
<p>
Contains the filters to be used when returning data.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMetricFilters(java.util.Collection)} or {@link #withMetricFilters(java.util.Collection)} if you want
to override the existing values.
</p>

@param metricFilters
       Contains the filters to be used when returning data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MetricV2.java