@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteDocumentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchDeleteDocumentResult() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteDocumentResult |
clone() |
boolean |
equals(Object obj) |
List<FailedDocument> |
getFailedDocuments()
A list of documents that couldn't be removed from the Amazon Q Business index.
|
int |
hashCode() |
void |
setFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business index.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDocumentResult |
withFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business index.
|
BatchDeleteDocumentResult |
withFailedDocuments(FailedDocument... failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business index.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FailedDocument> getFailedDocuments()
A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
public void setFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
failedDocuments
- A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an
error message that indicates why the document couldn't be removed from the index.public BatchDeleteDocumentResult withFailedDocuments(FailedDocument... failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business 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
setFailedDocuments(java.util.Collection)
or withFailedDocuments(java.util.Collection)
if you
want to override the existing values.
failedDocuments
- A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an
error message that indicates why the document couldn't be removed from the index.public BatchDeleteDocumentResult withFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
failedDocuments
- A list of documents that couldn't be removed from the Amazon Q Business index. Each entry contains an
error message that indicates why the document couldn't be removed from the index.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteDocumentResult clone()