public BatchDetectEntitiesRequest withTextList(java.util.Collection<String> textList) {
        setTextList(textList);
        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 of each document is 5 KB.
</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 of 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/BatchDetectEntitiesRequest.java