public PackageAggregation withPackageNames(java.util.Collection<StringFilter> packageNames) {
        setPackageNames(packageNames);
        return this;
    }
<p>
The names of packages to aggregate findings on.
</p>

@param packageNames
       The names of packages to aggregate findings on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/PackageAggregation.java