@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<BatchPutDocumentResponseFailedDocument> |
getFailedDocuments()
A list of documents that were not added to the index because the document failed a validation check.
|
int |
hashCode() |
void |
setFailedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutDocumentResult |
withFailedDocuments(BatchPutDocumentResponseFailedDocument... failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
BatchPutDocumentResult |
withFailedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<BatchPutDocumentResponseFailedDocument> getFailedDocuments()
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
public void setFailedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
failedDocuments - A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
public BatchPutDocumentResult withFailedDocuments(BatchPutDocumentResponseFailedDocument... failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
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 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
public BatchPutDocumentResult withFailedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
failedDocuments - A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
public String toString()
toString in class ObjectObject.toString()public BatchPutDocumentResult clone()