public void setVulnerablePackages(java.util.Collection<VulnerablePackage> vulnerablePackages) {
        if (vulnerablePackages == null) {
            this.vulnerablePackages = null;
            return;
        }

        this.vulnerablePackages = new java.util.ArrayList<VulnerablePackage>(vulnerablePackages);
    }
<p>
The packages impacted by this vulnerability.
</p>

@param vulnerablePackages
       The packages impacted by this vulnerability.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/PackageVulnerabilityDetails.java