public ListBotLocalesRequest withSortBy(BotLocaleSortBy sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending
order.
</p>

@param sortBy
       Specifies sorting parameters for the list of locales. You can sort by locale name in 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/ListBotLocalesRequest.java