public TableSortConfiguration withRowSort(FieldSortOptions... rowSort) {
        if (this.rowSort == null) {
            setRowSort(new java.util.ArrayList<FieldSortOptions>(rowSort.length));
        }
        for (FieldSortOptions ele : rowSort) {
            this.rowSort.add(ele);
        }
        return this;
    }
<p>
The field sort options for rows in the table.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRowSort(java.util.Collection)} or {@link #withRowSort(java.util.Collection)} if you want to override
the existing values.
</p>

@param rowSort
       The field sort options for rows in the table.
@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/TableSortConfiguration.java