public static interface GetDocumentAnalysisResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentAnalysisResponse.Builder,GetDocumentAnalysisResponse>
Modifier and Type | Method and Description |
---|---|
GetDocumentAnalysisResponse.Builder |
analyzeDocumentModelVersion(String analyzeDocumentModelVersion)
|
GetDocumentAnalysisResponse.Builder |
blocks(Block... blocks)
The results of the text-analysis operation.
|
GetDocumentAnalysisResponse.Builder |
blocks(Collection<Block> blocks)
The results of the text-analysis operation.
|
GetDocumentAnalysisResponse.Builder |
blocks(Consumer<Block.Builder>... blocks)
The results of the text-analysis operation.
|
default GetDocumentAnalysisResponse.Builder |
documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Information about a document that Amazon Textract processed.
|
GetDocumentAnalysisResponse.Builder |
documentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
|
GetDocumentAnalysisResponse.Builder |
jobStatus(JobStatus jobStatus)
The current status of the text detection job.
|
GetDocumentAnalysisResponse.Builder |
jobStatus(String jobStatus)
The current status of the text detection job.
|
GetDocumentAnalysisResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token.
|
GetDocumentAnalysisResponse.Builder |
statusMessage(String statusMessage)
Returns if the detection job could not be completed.
|
GetDocumentAnalysisResponse.Builder |
warnings(Collection<Warning> warnings)
A list of warnings that occurred during the document-analysis operation.
|
GetDocumentAnalysisResponse.Builder |
warnings(Consumer<Warning.Builder>... warnings)
A list of warnings that occurred during the document-analysis operation.
|
GetDocumentAnalysisResponse.Builder |
warnings(Warning... warnings)
A list of warnings that occurred during the document-analysis operation.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetDocumentAnalysisResponse.Builder documentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed. DocumentMetadata
is returned in
every page of paginated responses from an Amazon Textract video operation.
documentMetadata
- Information about a document that Amazon Textract processed. DocumentMetadata
is returned
in every page of paginated responses from an Amazon Textract video operation.default GetDocumentAnalysisResponse.Builder documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Information about a document that Amazon Textract processed. DocumentMetadata
is returned in
every page of paginated responses from an Amazon Textract video operation.
DocumentMetadata.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.Builder
documentMetadata(DocumentMetadata)
GetDocumentAnalysisResponse.Builder jobStatus(String jobStatus)
The current status of the text detection job.
GetDocumentAnalysisResponse.Builder jobStatus(JobStatus jobStatus)
The current status of the text detection job.
GetDocumentAnalysisResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text detection results.
nextToken
- If the response is truncated, Amazon Textract returns this token. You can use this token in the
subsequent request to retrieve the next set of text detection results.GetDocumentAnalysisResponse.Builder blocks(Collection<Block> blocks)
The results of the text-analysis operation.
blocks
- The results of the text-analysis operation.GetDocumentAnalysisResponse.Builder blocks(Block... blocks)
The results of the text-analysis operation.
blocks
- The results of the text-analysis operation.GetDocumentAnalysisResponse.Builder blocks(Consumer<Block.Builder>... blocks)
The results of the text-analysis operation.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #blocks(List)
.blocks
- a consumer that will call methods on List.Builder
#blocks(List)
GetDocumentAnalysisResponse.Builder warnings(Collection<Warning> warnings)
A list of warnings that occurred during the document-analysis operation.
warnings
- A list of warnings that occurred during the document-analysis operation.GetDocumentAnalysisResponse.Builder warnings(Warning... warnings)
A list of warnings that occurred during the document-analysis operation.
warnings
- A list of warnings that occurred during the document-analysis operation.GetDocumentAnalysisResponse.Builder warnings(Consumer<Warning.Builder>... warnings)
A list of warnings that occurred during the document-analysis operation.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #warnings(List)
.warnings
- a consumer that will call methods on List.Builder
#warnings(List)
GetDocumentAnalysisResponse.Builder statusMessage(String statusMessage)
Returns if the detection job could not be completed. Contains explanation for what error occured.
statusMessage
- Returns if the detection job could not be completed. Contains explanation for what error occured.GetDocumentAnalysisResponse.Builder analyzeDocumentModelVersion(String analyzeDocumentModelVersion)
analyzeDocumentModelVersion
- Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.