@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDocumentStatusResponseError extends Object implements Serializable, Cloneable, StructuredPojo
Provides a response when the status of a document could not be retrieved.
Constructor and Description |
---|
BatchGetDocumentStatusResponseError() |
Modifier and Type | Method and Description |
---|---|
BatchGetDocumentStatusResponseError |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentId()
The identifier of the document whose status could not be retrieved.
|
String |
getErrorCode()
Indicates the source of the error.
|
String |
getErrorMessage()
States that the API could not get the status of a document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentId(String documentId)
The identifier of the document whose status could not be retrieved.
|
void |
setErrorCode(String errorCode)
Indicates the source of the error.
|
void |
setErrorMessage(String errorMessage)
States that the API could not get the status of a document.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDocumentStatusResponseError |
withDocumentId(String documentId)
The identifier of the document whose status could not be retrieved.
|
BatchGetDocumentStatusResponseError |
withErrorCode(ErrorCode errorCode)
Indicates the source of the error.
|
BatchGetDocumentStatusResponseError |
withErrorCode(String errorCode)
Indicates the source of the error.
|
BatchGetDocumentStatusResponseError |
withErrorMessage(String errorMessage)
States that the API could not get the status of a document.
|
public void setDocumentId(String documentId)
The identifier of the document whose status could not be retrieved.
documentId
- The identifier of the document whose status could not be retrieved.public String getDocumentId()
The identifier of the document whose status could not be retrieved.
public BatchGetDocumentStatusResponseError withDocumentId(String documentId)
The identifier of the document whose status could not be retrieved.
documentId
- The identifier of the document whose status could not be retrieved.public void setErrorCode(String errorCode)
Indicates the source of the error.
errorCode
- Indicates the source of the error.ErrorCode
public String getErrorCode()
Indicates the source of the error.
ErrorCode
public BatchGetDocumentStatusResponseError withErrorCode(String errorCode)
Indicates the source of the error.
errorCode
- Indicates the source of the error.ErrorCode
public BatchGetDocumentStatusResponseError withErrorCode(ErrorCode errorCode)
Indicates the source of the error.
errorCode
- Indicates the source of the error.ErrorCode
public void setErrorMessage(String errorMessage)
States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.
errorMessage
- States that the API could not get the status of a document. This could be because the request is not valid
or there is a system error.public String getErrorMessage()
States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.
public BatchGetDocumentStatusResponseError withErrorMessage(String errorMessage)
States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.
errorMessage
- States that the API could not get the status of a document. This could be because the request is not valid
or there is a system error.public String toString()
toString
in class Object
Object.toString()
public BatchGetDocumentStatusResponseError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.