@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteDocumentResponseFailedDocument extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about documents that could not be removed from an index by the BatchDeleteDocument
API.
| Constructor and Description |
|---|
BatchDeleteDocumentResponseFailedDocument() |
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteDocumentResponseFailedDocument |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code for why the document couldn't be removed from the index.
|
String |
getErrorMessage()
An explanation for why the document couldn't be removed from the index.
|
String |
getId()
The identifier of the document that couldn't be removed from the index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code for why the document couldn't be removed from the index.
|
void |
setErrorMessage(String errorMessage)
An explanation for why the document couldn't be removed from the index.
|
void |
setId(String id)
The identifier of the document that couldn't be removed from the index.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDocumentResponseFailedDocument |
withErrorCode(ErrorCode errorCode)
The error code for why the document couldn't be removed from the index.
|
BatchDeleteDocumentResponseFailedDocument |
withErrorCode(String errorCode)
The error code for why the document couldn't be removed from the index.
|
BatchDeleteDocumentResponseFailedDocument |
withErrorMessage(String errorMessage)
An explanation for why the document couldn't be removed from the index.
|
BatchDeleteDocumentResponseFailedDocument |
withId(String id)
The identifier of the document that couldn't be removed from the index.
|
public BatchDeleteDocumentResponseFailedDocument()
public void setId(String id)
The identifier of the document that couldn't be removed from the index.
id - The identifier of the document that couldn't be removed from the index.public String getId()
The identifier of the document that couldn't be removed from the index.
public BatchDeleteDocumentResponseFailedDocument withId(String id)
The identifier of the document that couldn't be removed from the index.
id - The identifier of the document that couldn't be removed from the index.public void setErrorCode(String errorCode)
The error code for why the document couldn't be removed from the index.
errorCode - The error code for why the document couldn't be removed from the index.ErrorCodepublic String getErrorCode()
The error code for why the document couldn't be removed from the index.
ErrorCodepublic BatchDeleteDocumentResponseFailedDocument withErrorCode(String errorCode)
The error code for why the document couldn't be removed from the index.
errorCode - The error code for why the document couldn't be removed from the index.ErrorCodepublic BatchDeleteDocumentResponseFailedDocument withErrorCode(ErrorCode errorCode)
The error code for why the document couldn't be removed from the index.
errorCode - The error code for why the document couldn't be removed from the index.ErrorCodepublic void setErrorMessage(String errorMessage)
An explanation for why the document couldn't be removed from the index.
errorMessage - An explanation for why the document couldn't be removed from the index.public String getErrorMessage()
An explanation for why the document couldn't be removed from the index.
public BatchDeleteDocumentResponseFailedDocument withErrorMessage(String errorMessage)
An explanation for why the document couldn't be removed from the index.
errorMessage - An explanation for why the document couldn't be removed from the index.public String toString()
toString in class ObjectObject.toString()public BatchDeleteDocumentResponseFailedDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.