Class BatchGetDocumentStatusResponseError
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.BatchGetDocumentStatusResponseError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchGetDocumentStatusResponseError.Builder,BatchGetDocumentStatusResponseError>
@Generated("software.amazon.awssdk:codegen") public final class BatchGetDocumentStatusResponseError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetDocumentStatusResponseError.Builder,BatchGetDocumentStatusResponseError>
Provides a response when the status of a document could not be retrieved.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchGetDocumentStatusResponseError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchGetDocumentStatusResponseError.Builderbuilder()StringdocumentId()The identifier of the document whose status could not be retrieved.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCodeerrorCode()Indicates the source of the error.StringerrorCodeAsString()Indicates the source of the error.StringerrorMessage()States that the API could not get the status of a document.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends BatchGetDocumentStatusResponseError.Builder>serializableBuilderClass()BatchGetDocumentStatusResponseError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
documentId
public final String documentId()
The identifier of the document whose status could not be retrieved.
- Returns:
- The identifier of the document whose status could not be retrieved.
-
errorCode
public final ErrorCode errorCode()
Indicates the source of the error.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- Indicates the source of the error.
- See Also:
ErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
Indicates the source of the error.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- Indicates the source of the error.
- See Also:
ErrorCode
-
errorMessage
public final 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.
- Returns:
- 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.
-
toBuilder
public BatchGetDocumentStatusResponseError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchGetDocumentStatusResponseError.Builder,BatchGetDocumentStatusResponseError>
-
builder
public static BatchGetDocumentStatusResponseError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchGetDocumentStatusResponseError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-