public ListIntentMetricsRequest withMetrics(AnalyticsIntentMetric... metrics) {
        if (this.metrics == null) {
            setMetrics(new java.util.ArrayList<AnalyticsIntentMetric>(metrics.length));
        }
        for (AnalyticsIntentMetric ele : metrics) {
            this.metrics.add(ele);
        }
        return this;
    }
<p>
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to
return, and the order by which to organize the results.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMetrics(java.util.Collection)} or {@link #withMetrics(java.util.Collection)} if you want to override
the existing values.
</p>

@param metrics
       A list of objects, each of which contains a metric you want to list, the statistic for the metric you want
       to return, and the order by which to organize the results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListIntentMetricsRequest.java