public void setMetrics(java.util.Collection<MetricAttribute> metrics) {
        if (metrics == null) {
            this.metrics = null;
            return;
        }

        this.metrics = new java.util.ArrayList<MetricAttribute>(metrics);
    }
<p>
The metrics for the specified metric attribution.
</p>

@param metrics
       The metrics for the specified metric attribution.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/ListMetricAttributionMetricsResult.java