public CloudWatchMetricsDetail withDimensions(java.util.Collection<CloudWatchMetricsDimension> dimensions) {
        setDimensions(dimensions);
        return this;
    }
<p>
An array of CloudWatch dimensions associated with
</p>

@param dimensions
       An array of CloudWatch dimensions associated with
@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