public ListDevicesRequest withSortOrder(String sortOrder) {
        setSortOrder(sortOrder);
        return this;
    }
<p>
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise,
SortOrder is ASCENDING.
</p>

@param sortOrder
       The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME.
       Otherwise, SortOrder is ASCENDING.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/ListDevicesRequest.java