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

        this.dimensions = new java.util.ArrayList<DimensionDetail>(dimensions);
    }
<p>
The dimensions within a dimension group.
</p>

@param dimensions
       The dimensions within a dimension group.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/DimensionGroupDetail.java