@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutDocumentResponseFailedDocument extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a document that could not be indexed.
Constructor and Description |
---|
BatchPutDocumentResponseFailedDocument() |
Modifier and Type | Method and Description |
---|---|
BatchPutDocumentResponseFailedDocument |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The type of error that caused the document to fail to be indexed.
|
String |
getErrorMessage()
A description of the reason why the document could not be indexed.
|
String |
getId()
The identifier of the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The type of error that caused the document to fail to be indexed.
|
void |
setErrorMessage(String errorMessage)
A description of the reason why the document could not be indexed.
|
void |
setId(String id)
The identifier of the document.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutDocumentResponseFailedDocument |
withErrorCode(ErrorCode errorCode)
The type of error that caused the document to fail to be indexed.
|
BatchPutDocumentResponseFailedDocument |
withErrorCode(String errorCode)
The type of error that caused the document to fail to be indexed.
|
BatchPutDocumentResponseFailedDocument |
withErrorMessage(String errorMessage)
A description of the reason why the document could not be indexed.
|
BatchPutDocumentResponseFailedDocument |
withId(String id)
The identifier of the document.
|
public BatchPutDocumentResponseFailedDocument()
public void setId(String id)
The identifier of the document.
id
- The identifier of the document.public String getId()
The identifier of the document.
public BatchPutDocumentResponseFailedDocument withId(String id)
The identifier of the document.
id
- The identifier of the document.public void setErrorCode(String errorCode)
The type of error that caused the document to fail to be indexed.
errorCode
- The type of error that caused the document to fail to be indexed.ErrorCode
public String getErrorCode()
The type of error that caused the document to fail to be indexed.
ErrorCode
public BatchPutDocumentResponseFailedDocument withErrorCode(String errorCode)
The type of error that caused the document to fail to be indexed.
errorCode
- The type of error that caused the document to fail to be indexed.ErrorCode
public BatchPutDocumentResponseFailedDocument withErrorCode(ErrorCode errorCode)
The type of error that caused the document to fail to be indexed.
errorCode
- The type of error that caused the document to fail to be indexed.ErrorCode
public void setErrorMessage(String errorMessage)
A description of the reason why the document could not be indexed.
errorMessage
- A description of the reason why the document could not be indexed.public String getErrorMessage()
A description of the reason why the document could not be indexed.
public BatchPutDocumentResponseFailedDocument withErrorMessage(String errorMessage)
A description of the reason why the document could not be indexed.
errorMessage
- A description of the reason why the document could not be indexed.public String toString()
toString
in class Object
Object.toString()
public BatchPutDocumentResponseFailedDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.