public void setVulnerability(Vulnerability vulnerability) {
        this.vulnerability = vulnerability;
    }
<p>
An object that describes the detected security vulnerability.
</p>

@param vulnerability
       An object that describes the detected security vulnerability.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/Finding.java