public void setCwes(java.util.Collection<String> cwes) {
        if (cwes == null) {
            this.cwes = null;
            return;
        }

        this.cwes = new java.util.ArrayList<String>(cwes);
    }
<p>
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
</p>

@param cwes
       The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/CodeVulnerabilityDetails.java