public ListAvailableResourceMetricsResult withMetrics(java.util.Collection<ResponseResourceMetric> metrics) {
        setMetrics(metrics);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/ListAvailableResourceMetricsResult.java