public void setWeightSort(java.util.Collection<FieldSortOptions> weightSort) {
        if (weightSort == null) {
            this.weightSort = null;
            return;
        }

        this.weightSort = new java.util.ArrayList<FieldSortOptions>(weightSort);
    }
<p>
The sort configuration of the weight fields.
</p>

@param weightSort
       The sort configuration of the weight fields.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/SankeyDiagramSortConfiguration.java