public PivotTableOptions withCollapsedRowDimensionsVisibility(Visibility collapsedRowDimensionsVisibility) {
        this.collapsedRowDimensionsVisibility = collapsedRowDimensionsVisibility.toString();
        return this;
    }
<p>
The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is
<code>HIDDEN</code>, all collapsed columns in a pivot table are automatically hidden. The default value is
<code>VISIBLE</code>.
</p>

@param collapsedRowDimensionsVisibility
       The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure
       is <code>HIDDEN</code>, all collapsed columns in a pivot table are automatically hidden. The default value
       is <code>VISIBLE</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see Visibility
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTableOptions.java