public ListEvaluationJobsRequest withSortBy(SortJobsBy sortBy) {
        this.sortBy = sortBy.toString();
        return this;
    }
<p>
Allows you to sort model evaluation jobs by when they were created.
</p>

@param sortBy
       Allows you to sort model evaluation jobs by when they were created.
@return Returns a reference to this object so that method calls can be chained together.
@see SortJobsBy
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/ListEvaluationJobsRequest.java