public void setSortBy(String sortBy) {
        this.sortBy = sortBy;
    }
<p>
Sort hub content versions by either name or creation time.
</p>

@param sortBy
       Sort hub content versions by either name or creation time.
@see HubContentSortBy
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListHubContentVersionsRequest.java