public ListServersRequest withSort(SortOrder sort) {
        this.sort = sort.toString();
        return this;
    }
<p>
Specifies whether to sort by ascending (<code>ASC</code>) or descending (<code>DESC</code>) order.
</p>

@param sort
       Specifies whether to sort by ascending (<code>ASC</code>) or descending (<code>DESC</code>) order.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/ListServersRequest.java