public void setCloudWatchMetrics(java.util.Collection<CloudWatchMetricsDetail> cloudWatchMetrics) {
        if (cloudWatchMetrics == null) {
            this.cloudWatchMetrics = null;
            return;
        }

        this.cloudWatchMetrics = new java.util.ArrayList<CloudWatchMetricsDetail>(cloudWatchMetrics);
    }
<p>
An array of <code>CloudWatchMetricsDetail</code> objects that contain information about analyzed CloudWatch
metrics that show anomalous behavior.
</p>

@param cloudWatchMetrics
       An array of <code>CloudWatchMetricsDetail</code> objects that contain information about analyzed
       CloudWatch metrics that show anomalous behavior.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/AnomalySourceDetails.java