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

@param sort
       Specifies whether to sort by ascending (ASC) or descending (DESC) 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/ListAnalyzableServersRequest.java