public ListPipelinesRequest withSortBy(SortPipelinesBy sortBy) {
        this.sortBy = sortBy.toString();
        return this;
    }
<p>
The field by which to sort results. The default is <code>CreatedTime</code>.
</p>

@param sortBy
       The field by which to sort results. The default is <code>CreatedTime</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SortPipelinesBy
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListPipelinesRequest.java