public BatchPutDocumentRequest withDocuments(java.util.Collection<Document> documents) {
        setDocuments(documents);
        return this;
    }
<p>
One or more documents to add to the index.
</p>

@param documents
       One or more documents to add to the index.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/BatchPutDocumentRequest.java