public GetMetricDataResult withMetricResults(java.util.Collection<HistoricalMetricResult> metricResults) {
        setMetricResults(metricResults);
        return this;
    }
<p>
Information about the historical metrics.
</p>
<p>
If no grouping is specified, a summary of metric data is returned.
</p>

@param metricResults
       Information about the historical metrics.</p>
       <p>
       If no grouping is specified, a summary of metric data is returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataResult.java