public BatchGetMetricDataRequest withQueries(java.util.Collection<BatchGetMetricDataQuery> queries) {
        setQueries(queries);
        return this;
    }
<p>
A list of queries for metrics to be retrieved.
</p>

@param queries
       A list of queries for metrics to be retrieved.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/BatchGetMetricDataRequest.java