public CodeVulnerabilityDetails withDetectorName(String detectorName) {
        setDetectorName(detectorName);
        return this;
    }
<p>
The name of the detector used to identify the code vulnerability. For more information on detectors see <a
href="https://docs.aws.amazon.com/codeguru/detector-library">CodeGuru Detector Library</a>.
</p>

@param detectorName
       The name of the detector used to identify the code vulnerability. For more information on detectors see <a
       href="https://docs.aws.amazon.com/codeguru/detector-library">CodeGuru Detector Library</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/CodeVulnerabilityDetails.java