public Record withDimensions(java.util.Collection<Dimension> dimensions) {
        setDimensions(dimensions);
        return this;
    }
<p>
Contains the list of dimensions for time-series data points.
</p>

@param dimensions
       Contains the list of dimensions for time-series data points.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/Record.java