public BotSortBy withOrder(SortOrder order) {
        this.order = order.toString();
        return this;
    }
<p>
The order to sort the list. You can choose ascending or descending.
</p>

@param order
       The order to sort the list. You can choose ascending or descending.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/BotSortBy.java