public void setMetricList(java.util.Collection<MetricKeyDataPoints> metricList) {
        if (metricList == null) {
            this.metricList = null;
            return;
        }

        this.metricList = new java.util.ArrayList<MetricKeyDataPoints>(metricList);
    }
<p>
An array of metric results, where each array element contains all of the data points for a particular dimension.
</p>

@param metricList
       An array of metric results, where each array element contains all of the data points for a particular
       dimension.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/GetResourceMetricsResult.java