public void setTotalAggregationOptions(java.util.Collection<TotalAggregationOption> totalAggregationOptions) {
        if (totalAggregationOptions == null) {
            this.totalAggregationOptions = null;
            return;
        }

        this.totalAggregationOptions = new java.util.ArrayList<TotalAggregationOption>(totalAggregationOptions);
    }
<p>
The total aggregation options for each value field.
</p>

@param totalAggregationOptions
       The total aggregation options for each value field.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTotalOptions.java