public ListOptimizationJobsRequest withSortBy(String sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
The field by which to sort the optimization jobs in the response. The default is <code>CreationTime</code>
</p>

@param sortBy
       The field by which to sort the optimization jobs in the response. The default is <code>CreationTime</code>
@return Returns a reference to this object so that method calls can be chained together.
@see ListOptimizationJobsSortBy
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListOptimizationJobsRequest.java