@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, setSdkResponseMetadata
public 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 AWS CloudWatch log.
If there was an error adding a document to an index the error is reported in your AWS CloudWatch log.
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 AWS CloudWatch log.
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 AWS CloudWatch log.
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 AWS CloudWatch log.
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 AWS CloudWatch log.
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 AWS CloudWatch log.
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 AWS CloudWatch log.
public String toString()
toString
in class Object
Object.toString()
public BatchPutDocumentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.