public DataProductSort withSortBy(DataProductSortBy sortBy) {
        this.sortBy = sortBy.toString();
        return this;
    }
<p>
Field to sort the data products by.
</p>

@param sortBy
       Field to sort the data products by.
@return Returns a reference to this object so that method calls can be chained together.
@see DataProductSortBy
aws-java-sdk-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/DataProductSort.java