public void setTitles(java.util.Collection<StringFilter> titles) {
        if (titles == null) {
            this.titles = null;
            return;
        }

        this.titles = new java.util.ArrayList<StringFilter>(titles);
    }
<p>
The finding titles to aggregate on.
</p>

@param titles
       The finding titles to aggregate on.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/TitleAggregation.java