public void setDimensions(java.util.Collection<CloudWatchMetricsDimension> dimensions) {
        if (dimensions == null) {
            this.dimensions = null;
            return;
        }

        this.dimensions = new java.util.ArrayList<CloudWatchMetricsDimension>(dimensions);
    }
<p>
An array of CloudWatch dimensions associated with
</p>

@param dimensions
       An array of CloudWatch dimensions associated with
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/CloudWatchMetricsDetail.java