public IndexStatistics withTextDocumentStatistics(TextDocumentStatistics textDocumentStatistics) {
        setTextDocumentStatistics(textDocumentStatistics);
        return this;
    }
<p>
The number of text documents indexed.
</p>

@param textDocumentStatistics
       The number of text documents indexed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/IndexStatistics.java