@Generated(value="software.amazon.awssdk:codegen") public final class Status extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Status.Builder,Status>
Provides information about the status of documents submitted for indexing.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Status.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Status.Builder |
builder() |
String |
documentId()
The identifier of the document.
|
DocumentStatus |
documentStatus()
The current status of a document.
|
String |
documentStatusAsString()
The current status of a document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureCode()
Indicates the source of the error.
|
String |
failureReason()
Provides detailed information about why the document couldn't be indexed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Status.Builder> |
serializableBuilderClass() |
Status.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String documentId()
The identifier of the document.
public final 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.
If the service returns an enum value that is not available in the current SDK version, documentStatus
will return DocumentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from documentStatusAsString().
If the document was submitted for deletion, the status is NOT_FOUND after the document is
deleted.
DocumentStatuspublic final String documentStatusAsString()
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 service returns an enum value that is not available in the current SDK version, documentStatus
will return DocumentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from documentStatusAsString().
If the document was submitted for deletion, the status is NOT_FOUND after the document is
deleted.
DocumentStatuspublic final String failureCode()
Indicates the source of the error.
public final 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.
public Status.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Status.Builder,Status>public static Status.Builder builder()
public static Class<? extends Status.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.