public TitleAggregation withFindingType(String findingType) {
        setFindingType(findingType);
        return this;
    }
<p>
The type of finding to aggregate on.
</p>

@param findingType
       The type of finding to aggregate on.
@return Returns a reference to this object so that method calls can be chained together.
@see AggregationFindingType
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/TitleAggregation.java