public HistoricalMetricData withMetric(HistoricalMetric metric) {
        setMetric(metric);
        return this;
    }
<p>
Information about the metric.
</p>

@param metric
       Information about the metric.
@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/HistoricalMetricData.java