public ListMonitoringExecutionsRequest withSortOrder(SortOrder sortOrder) {
        this.sortOrder = sortOrder.toString();
        return this;
    }
<p>
Whether to sort the results in <code>Ascending</code> or <code>Descending</code> order. The default is
<code>Descending</code>.
</p>

@param sortOrder
       Whether to sort the results in <code>Ascending</code> or <code>Descending</code> order. The default is
       <code>Descending</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SortOrder
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListMonitoringExecutionsRequest.java