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

        this.dimensions = new com.amazonaws.internal.SdkInternalList<Dimension>(dimensions);
    }
<p>
The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in
order for the call to succeed.
</p>

@param dimensions
       The dimensions associated with the metric. If the metric has any associated dimensions, you must specify
       them in order for the call to succeed.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DescribeAlarmsForMetricRequest.java