@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Status extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status of documents submitted for indexing.
Constructor and Description |
---|
Status() |
Modifier and Type | Method and Description |
---|---|
Status |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentId()
The identifier of the document.
|
String |
getDocumentStatus()
The current status of a document.
|
String |
getFailureCode()
Indicates the source of the error.
|
String |
getFailureReason()
Provides detailed information about why the document couldn't be indexed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentId(String documentId)
The identifier of the document.
|
void |
setDocumentStatus(String documentStatus)
The current status of a document.
|
void |
setFailureCode(String failureCode)
Indicates the source of the error.
|
void |
setFailureReason(String failureReason)
Provides detailed information about why the document couldn't be indexed.
|
String |
toString()
Returns a string representation of this object.
|
Status |
withDocumentId(String documentId)
The identifier of the document.
|
Status |
withDocumentStatus(DocumentStatus documentStatus)
The current status of a document.
|
Status |
withDocumentStatus(String documentStatus)
The current status of a document.
|
Status |
withFailureCode(String failureCode)
Indicates the source of the error.
|
Status |
withFailureReason(String failureReason)
Provides detailed information about why the document couldn't be indexed.
|
public void setDocumentId(String documentId)
The identifier of the document.
documentId
- The identifier of the document.public String getDocumentId()
The identifier of the document.
public Status withDocumentId(String documentId)
The identifier of the document.
documentId
- The identifier of the document.public void setDocumentStatus(String documentStatus)
The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.
documentStatus
- The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is
deleted.
DocumentStatus
public String getDocumentStatus()
The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is
deleted.
DocumentStatus
public Status withDocumentStatus(String documentStatus)
The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.
documentStatus
- The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is
deleted.
DocumentStatus
public Status withDocumentStatus(DocumentStatus documentStatus)
The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is deleted.
documentStatus
- The current status of a document.
If the document was submitted for deletion, the status is NOT_FOUND
after the document is
deleted.
DocumentStatus
public void setFailureCode(String failureCode)
Indicates the source of the error.
failureCode
- Indicates the source of the error.public String getFailureCode()
Indicates the source of the error.
public Status withFailureCode(String failureCode)
Indicates the source of the error.
failureCode
- Indicates the source of the error.public void setFailureReason(String failureReason)
Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.
failureReason
- Provides detailed information about why the document couldn't be indexed. Use this information to correct
the error before you resubmit the document for indexing.public String getFailureReason()
Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.
public Status withFailureReason(String failureReason)
Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.
failureReason
- Provides detailed information about why the document couldn't be indexed. Use this information to correct
the error before you resubmit the document for indexing.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.