* A list of documents that could not be removed from the index. Each entry contains an error message that indicates * why the document couldn't be removed from the index. *
*/ private java.util.List* A list of documents that could not be removed from the index. Each entry contains an error message that indicates * why the document couldn't be removed from the index. *
* * @return A list of documents that could not be removed from the index. Each entry contains an error message that * indicates why the document couldn't be removed from the index. */ public java.util.List* A list of documents that could not be removed from the index. Each entry contains an error message that indicates * why the document couldn't be removed from the index. *
* * @param failedDocuments * A list of documents that could not be removed from the index. Each entry contains an error message that * indicates why the document couldn't be removed from the index. */ public void setFailedDocuments(java.util.Collection* A list of documents that could not be removed from the index. Each entry contains an error message that indicates * why the document couldn't be removed from the index. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailedDocuments(java.util.Collection)} or {@link #withFailedDocuments(java.util.Collection)} if you * want to override the existing values. *
* * @param failedDocuments * A list of documents that could not be removed from the index. Each entry contains an error message that * indicates why the document couldn't be removed from the index. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteDocumentResult withFailedDocuments(BatchDeleteDocumentResponseFailedDocument... failedDocuments) { if (this.failedDocuments == null) { setFailedDocuments(new java.util.ArrayList* A list of documents that could not be removed from the index. Each entry contains an error message that indicates * why the document couldn't be removed from the index. *
* * @param failedDocuments * A list of documents that could not be removed from the index. Each entry contains an error message that * indicates why the document couldn't be removed from the index. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteDocumentResult withFailedDocuments(java.util.Collection