public static interface AnalyzeDocumentResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<AnalyzeDocumentResponse.Builder,AnalyzeDocumentResponse>
| Modifier and Type | Method and Description |
|---|---|
AnalyzeDocumentResponse.Builder |
analyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
|
AnalyzeDocumentResponse.Builder |
blocks(Block... blocks)
The items that are detected and analyzed by
AnalyzeDocument. |
AnalyzeDocumentResponse.Builder |
blocks(Collection<Block> blocks)
The items that are detected and analyzed by
AnalyzeDocument. |
AnalyzeDocumentResponse.Builder |
blocks(Consumer<Block.Builder>... blocks)
The items that are detected and analyzed by
AnalyzeDocument. |
default AnalyzeDocumentResponse.Builder |
documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Metadata about the analyzed document.
|
AnalyzeDocumentResponse.Builder |
documentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document.
|
default AnalyzeDocumentResponse.Builder |
humanLoopActivationOutput(Consumer<HumanLoopActivationOutput.Builder> humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
|
AnalyzeDocumentResponse.Builder |
humanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAnalyzeDocumentResponse.Builder documentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document. An example is the number of pages.
documentMetadata - Metadata about the analyzed document. An example is the number of pages.default AnalyzeDocumentResponse.Builder documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Metadata about the analyzed document. An example is the number of pages.
This is a convenience method that creates an instance of theDocumentMetadata.Builder avoiding the
need to create one manually via DocumentMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to documentMetadata(DocumentMetadata).
documentMetadata - a consumer that will call methods on DocumentMetadata.BuilderdocumentMetadata(DocumentMetadata)AnalyzeDocumentResponse.Builder blocks(Collection<Block> blocks)
The items that are detected and analyzed by AnalyzeDocument.
blocks - The items that are detected and analyzed by AnalyzeDocument.AnalyzeDocumentResponse.Builder blocks(Block... blocks)
The items that are detected and analyzed by AnalyzeDocument.
blocks - The items that are detected and analyzed by AnalyzeDocument.AnalyzeDocumentResponse.Builder blocks(Consumer<Block.Builder>... blocks)
The items that are detected and analyzed by AnalyzeDocument.
Block.Builder avoiding the need to create one manually
via Block.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #blocks(List.
blocks - a consumer that will call methods on
Block.Builder#blocks(java.util.Collection) AnalyzeDocumentResponse.Builder humanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
humanLoopActivationOutput - Shows the results of the human in the loop evaluation.default AnalyzeDocumentResponse.Builder humanLoopActivationOutput(Consumer<HumanLoopActivationOutput.Builder> humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
This is a convenience method that creates an instance of theHumanLoopActivationOutput.Builder
avoiding the need to create one manually via HumanLoopActivationOutput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to humanLoopActivationOutput(HumanLoopActivationOutput).
humanLoopActivationOutput - a consumer that will call methods on HumanLoopActivationOutput.BuilderhumanLoopActivationOutput(HumanLoopActivationOutput)AnalyzeDocumentResponse.Builder analyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
analyzeDocumentModelVersion - The version of the model used to analyze the document.Copyright © 2023. All rights reserved.