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

        this.dimensions = new java.util.ArrayList<Dimension>(dimensions);
    }
<p>
Contains the list of dimensions for time-series data points.
</p>

@param dimensions
       Contains the list of dimensions for time-series data points.
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/Record.java