public Document withTokenizedBody(String... tokenizedBody) {
        if (this.tokenizedBody == null) {
            setTokenizedBody(new java.util.ArrayList<String>(tokenizedBody.length));
        }
        for (String ele : tokenizedBody) {
            this.tokenizedBody.add(ele);
        }
        return this;
    }
<p>
The body text of the search service's document represented as a list of tokens or words. You must choose to
provide <code>Body</code> or <code>TokenizedBody</code>. You cannot provide both.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTokenizedBody(java.util.Collection)} or {@link #withTokenizedBody(java.util.Collection)} if you want
to override the existing values.
</p>

@param tokenizedBody
       The body text of the search service's document represented as a list of tokens or words. You must choose
       to provide <code>Body</code> or <code>TokenizedBody</code>. You cannot provide both.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendraranking/src/main/java/com/amazonaws/services/kendraranking/model/Document.java