public FilePath withCodeSnippet(CodeLine... codeSnippet) {
        if (this.codeSnippet == null) {
            setCodeSnippet(new java.util.ArrayList<CodeLine>(codeSnippet.length));
        }
        for (CodeLine ele : codeSnippet) {
            this.codeSnippet.add(ele);
        }
        return this;
    }
<p>
A list of <code>CodeLine</code> objects that describe where the security vulnerability appears in your code.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCodeSnippet(java.util.Collection)} or {@link #withCodeSnippet(java.util.Collection)} if you want to
override the existing values.
</p>

@param codeSnippet
       A list of <code>CodeLine</code> objects that describe where the security vulnerability appears in your
       code.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/FilePath.java