@Generated(value="software.amazon.awssdk:codegen") public final class BatchPutDocumentResponseFailedDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPutDocumentResponseFailedDocument.Builder,BatchPutDocumentResponseFailedDocument>
Provides information about a document that could not be indexed.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchPutDocumentResponseFailedDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchPutDocumentResponseFailedDocument.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorCode |
errorCode()
The type of error that caused the document to fail to be indexed.
|
String |
errorCodeAsString()
The type of error that caused the document to fail to be indexed.
|
String |
errorMessage()
A description of the reason why the document could not be indexed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchPutDocumentResponseFailedDocument.Builder> |
serializableBuilderClass() |
BatchPutDocumentResponseFailedDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier of the document.
public final ErrorCode errorCode()
The type of error that caused the document to fail to be indexed.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorCodeAsString()
The type of error that caused the document to fail to be indexed.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorMessage()
A description of the reason why the document could not be indexed.
public BatchPutDocumentResponseFailedDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchPutDocumentResponseFailedDocument.Builder,BatchPutDocumentResponseFailedDocument>public static BatchPutDocumentResponseFailedDocument.Builder builder()
public static Class<? extends BatchPutDocumentResponseFailedDocument.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.