public ListSlotTypesRequest withSortBy(SlotTypeSortBy sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
Determines the sort order for the response from the <code>ListSlotTypes</code> operation. You can choose to sort
by the slot type name or last updated date in either ascending or descending order.
</p>

@param sortBy
       Determines the sort order for the response from the <code>ListSlotTypes</code> operation. You can choose
       to sort by the slot type name or last updated date in either ascending or descending order.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListSlotTypesRequest.java