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

        this.packageNames = new java.util.ArrayList<StringFilter>(packageNames);
    }
<p>
The names of packages to aggregate findings on.
</p>

@param packageNames
       The names of packages to aggregate findings on.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/PackageAggregation.java