@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDocumentStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetDocumentStatusResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDocumentStatusResult |
clone() |
boolean |
equals(Object obj) |
List<Status> |
getDocumentStatusList()
The status of documents.
|
List<BatchGetDocumentStatusResponseError> |
getErrors()
A list of documents that Amazon Kendra couldn't get the status for.
|
int |
hashCode() |
void |
setDocumentStatusList(Collection<Status> documentStatusList)
The status of documents.
|
void |
setErrors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDocumentStatusResult |
withDocumentStatusList(Collection<Status> documentStatusList)
The status of documents.
|
BatchGetDocumentStatusResult |
withDocumentStatusList(Status... documentStatusList)
The status of documents.
|
BatchGetDocumentStatusResult |
withErrors(BatchGetDocumentStatusResponseError... errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
BatchGetDocumentStatusResult |
withErrors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchGetDocumentStatusResponseError> getErrors()
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
public void setErrors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
errors
- A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the
document and the reason that the status couldn't be found.public BatchGetDocumentStatusResult withErrors(BatchGetDocumentStatusResponseError... errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the
document and the reason that the status couldn't be found.public BatchGetDocumentStatusResult withErrors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
errors
- A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the
document and the reason that the status couldn't be found.public List<Status> getDocumentStatusList()
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
public void setDocumentStatusList(Collection<Status> documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
documentStatusList
- The status of documents. The status indicates if the document is waiting to be indexed, is in the process
of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status
provides the reason why.public BatchGetDocumentStatusResult withDocumentStatusList(Status... documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentStatusList(java.util.Collection)
or withDocumentStatusList(java.util.Collection)
if
you want to override the existing values.
documentStatusList
- The status of documents. The status indicates if the document is waiting to be indexed, is in the process
of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status
provides the reason why.public BatchGetDocumentStatusResult withDocumentStatusList(Collection<Status> documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
documentStatusList
- The status of documents. The status indicates if the document is waiting to be indexed, is in the process
of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status
provides the reason why.public String toString()
toString
in class Object
Object.toString()
public BatchGetDocumentStatusResult clone()