public PivotTableSortBy withField(FieldSort field) {
        setField(field);
        return this;
    }
<p>
The field sort (field id, direction) for the pivot table sort by options.
</p>

@param field
       The field sort (field id, direction) for the pivot table sort by options.
@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/PivotTableSortBy.java