public CodeVulnerabilityDetails withDetectorId(String detectorId) {
        setDetectorId(detectorId);
        return this;
    }
<p>
The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see <a
href="https://docs.aws.amazon.com/codeguru/detector-library">Amazon CodeGuru Detector Library</a>.
</p>

@param detectorId
       The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see
       <a href="https://docs.aws.amazon.com/codeguru/detector-library">Amazon 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