@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutDocumentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
BatchPutDocumentResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutDocumentResult |
clone() |
boolean |
equals(Object obj) |
List<FailedDocument> |
getFailedDocuments()
A list of documents that were not added to the Amazon Q Business index because the document failed a validation
check.
|
int |
hashCode() |
void |
setFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation
check.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutDocumentResult |
withFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation
check.
|
BatchPutDocumentResult |
withFailedDocuments(FailedDocument... failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation
check.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<FailedDocument> getFailedDocuments()
A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
public void setFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
failedDocuments - A list of documents that were not added to the Amazon Q Business index because the document failed a
validation check. Each document contains an error message that indicates why the document couldn't be
added to the index.public BatchPutDocumentResult withFailedDocuments(FailedDocument... failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to 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 were not added to the Amazon Q Business index because the document failed a
validation check. Each document contains an error message that indicates why the document couldn't be
added to the index.public BatchPutDocumentResult withFailedDocuments(Collection<FailedDocument> failedDocuments)
A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
failedDocuments - A list of documents that were not added to the Amazon Q Business index because the document failed a
validation check. Each document contains an error message that indicates why the document couldn't be
added to the index.public String toString()
toString in class ObjectObject.toString()public BatchPutDocumentResult clone()