public PackageVulnerabilityDetails withCvss(CvssScore... cvss) {
        if (this.cvss == null) {
            setCvss(new java.util.ArrayList<CvssScore>(cvss.length));
        }
        for (CvssScore ele : cvss) {
            this.cvss.add(ele);
        }
        return this;
    }
<p>
An object that contains details about the CVSS score of a finding.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCvss(java.util.Collection)} or {@link #withCvss(java.util.Collection)} if you want to override the
existing values.
</p>

@param cvss
       An object that contains details about the CVSS score of a finding.
@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