public CodeVulnerabilityDetails withDetectorTags(String... detectorTags) {
        if (this.detectorTags == null) {
            setDetectorTags(new java.util.ArrayList<String>(detectorTags.length));
        }
        for (String ele : detectorTags) {
            this.detectorTags.add(ele);
        }
        return this;
    }
<p>
The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes
or tactics. For a list of available tags by programming language, see <a
href="https://docs.aws.amazon.com/codeguru/detector-library/java/tags/">Java tags</a>, or <a
href="https://docs.aws.amazon.com/codeguru/detector-library/python/tags/">Python tags</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDetectorTags(java.util.Collection)} or {@link #withDetectorTags(java.util.Collection)} if you want to
override the existing values.
</p>

@param detectorTags
       The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common
       themes or tactics. For a list of available tags by programming language, see <a
       href="https://docs.aws.amazon.com/codeguru/detector-library/java/tags/">Java tags</a>, or <a
       href="https://docs.aws.amazon.com/codeguru/detector-library/python/tags/">Python tags</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