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

        this.metrics = new java.util.ArrayList<ResponseResourceMetric>(metrics);
    }
<p>
An array of metrics available to query. Each array element contains the full name, description, and unit of the
metric.
</p>

@param metrics
       An array of metrics available to query. Each array element contains the full name, description, and unit
       of the metric.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/ListAvailableResourceMetricsResult.java