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

        this.dimensions = new java.util.ArrayList<Dimension>(dimensions);
    }
<p>
<b>Internal only</b>. The dimensions associated with the metric.
</p>

@param dimensions
       <b>Internal only</b>. The dimensions associated with the metric.
aws-java-sdk-mwaa/src/main/java/com/amazonaws/services/mwaa/model/MetricDatum.java