public PivotTotalOptions withTotalsVisibility(Visibility totalsVisibility) {
        this.totalsVisibility = totalsVisibility.toString();
        return this;
    }
<p>
The visibility configuration for the total cells.
</p>

@param totalsVisibility
       The visibility configuration for the total cells.
@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/PivotTotalOptions.java