public ListRepositoriesRequest withOrder(OrderEnum order) {
        this.order = order.toString();
        return this;
    }
<p>
The order in which to sort the results of a list repositories operation.
</p>

@param order
       The order in which to sort the results of a list repositories operation.
@return Returns a reference to this object so that method calls can be chained together.
@see OrderEnum
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/ListRepositoriesRequest.java