public BatchGetDocumentStatusResult withDocumentStatusList(java.util.Collection<Status> documentStatusList) {
        setDocumentStatusList(documentStatusList);
        return this;
    }
<p>
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of
indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the
reason why.
</p>

@param documentStatusList
       The status of documents. The status indicates if the document is waiting to be indexed, is in the process
       of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status
       provides the reason why.
@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/BatchGetDocumentStatusResult.java