public ListMonitoringExecutionsRequest withSortBy(String sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
Whether to sort the results by the <code>Status</code>, <code>CreationTime</code>, or <code>ScheduledTime</code>
field. The default is <code>CreationTime</code>.
</p>

@param sortBy
       Whether to sort the results by the <code>Status</code>, <code>CreationTime</code>, or
       <code>ScheduledTime</code> field. The default is <code>CreationTime</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see MonitoringExecutionSortKey
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListMonitoringExecutionsRequest.java