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

        this.metrics = new com.amazonaws.internal.SdkInternalList<Metric>(metrics);
    }
<p>
The metrics that match your request.
</p>

@param metrics
       The metrics that match your request.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/ListMetricsResult.java