@Generated(value="software.amazon.awssdk:codegen") public final class AnalyzeDocumentResponse extends TextractResponse implements ToCopyableBuilder<AnalyzeDocumentResponse.Builder,AnalyzeDocumentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyzeDocumentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
analyzeDocumentModelVersion()
The version of the model used to analyze the document.
|
List<Block> |
blocks()
The items that are detected and analyzed by
AnalyzeDocument. |
static AnalyzeDocumentResponse.Builder |
builder() |
DocumentMetadata |
documentMetadata()
Metadata about the analyzed document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBlocks()
Returns true if the Blocks property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
HumanLoopActivationOutput |
humanLoopActivationOutput()
Shows the results of the human in the loop evaluation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyzeDocumentResponse.Builder> |
serializableBuilderClass() |
AnalyzeDocumentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DocumentMetadata documentMetadata()
Metadata about the analyzed document. An example is the number of pages.
public final boolean hasBlocks()
public final List<Block> blocks()
The items that are detected and analyzed by AnalyzeDocument.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBlocks() to see if a value was sent in this field.
AnalyzeDocument.public final HumanLoopActivationOutput humanLoopActivationOutput()
Shows the results of the human in the loop evaluation.
public final String analyzeDocumentModelVersion()
The version of the model used to analyze the document.
public AnalyzeDocumentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalyzeDocumentResponse.Builder,AnalyzeDocumentResponse>toBuilder in class AwsResponsepublic static AnalyzeDocumentResponse.Builder builder()
public static Class<? extends AnalyzeDocumentResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.