public TreeMapSortConfiguration withTreeMapSort(FieldSortOptions... treeMapSort) {
        if (this.treeMapSort == null) {
            setTreeMapSort(new java.util.ArrayList<FieldSortOptions>(treeMapSort.length));
        }
        for (FieldSortOptions ele : treeMapSort) {
            this.treeMapSort.add(ele);
        }
        return this;
    }
<p>
The sort configuration of group by fields.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTreeMapSort(java.util.Collection)} or {@link #withTreeMapSort(java.util.Collection)} if you want to
override the existing values.
</p>

@param treeMapSort
       The sort configuration of group by fields.
@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/TreeMapSortConfiguration.java