public void setMetricFilters(java.util.Collection<MetricFilterV2> metricFilters) {
        if (metricFilters == null) {
            this.metricFilters = null;
            return;
        }

        this.metricFilters = new java.util.ArrayList<MetricFilterV2>(metricFilters);
    }
<p>
Contains the filters to be used when returning data.
</p>

@param metricFilters
       Contains the filters to be used when returning data.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MetricV2.java