public CloudWatchMetricsDetail withMetricDataSummary(CloudWatchMetricsDataSummary metricDataSummary) {
        setMetricDataSummary(metricDataSummary);
        return this;
    }
<p>
This object returns anomaly metric data.
</p>

@param metricDataSummary
       This object returns anomaly metric data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/CloudWatchMetricsDetail.java