public PivotTotalOptions withTotalAggregationOptions(java.util.Collection<TotalAggregationOption> totalAggregationOptions) {
        setTotalAggregationOptions(totalAggregationOptions);
        return this;
    }
<p>
The total aggregation options for each value field.
</p>

@param totalAggregationOptions
       The total aggregation options for each value field.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTotalOptions.java