public BatchDetectSyntaxRequest withTextList(String... textList) {
        if (this.textList == null) {
            setTextList(new java.util.ArrayList<String>(textList.length));
        }
        for (String ele : textList) {
            this.textList.add(ele);
        }
        return this;
    }
<p>
A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents.
The maximum size for each document is 5 KB.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTextList(java.util.Collection)} or {@link #withTextList(java.util.Collection)} if you want to override
the existing values.
</p>

@param textList
       A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25
       documents. The maximum size for each document is 5 KB.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/BatchDetectSyntaxRequest.java