public FindingTypeAggregation withSortBy(String sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
The value to sort results by.
</p>

@param sortBy
       The value to sort results by.
@return Returns a reference to this object so that method calls can be chained together.
@see FindingTypeSortBy
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/FindingTypeAggregation.java