public SearchSortResult withOrder(SortOrder order) {
        this.order = order.toString();
        return this;
    }
<p>
Sort direction.
</p>

@param order
       Sort direction.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchSortResult.java