public PackageVulnerabilityDetails withVulnerablePackages(java.util.Collection<VulnerablePackage> vulnerablePackages) {
        setVulnerablePackages(vulnerablePackages);
        return this;
    }
<p>
The packages impacted by this vulnerability.
</p>

@param vulnerablePackages
       The packages impacted by this vulnerability.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/PackageVulnerabilityDetails.java