public static interface GetDocumentTextDetectionResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentTextDetectionResponse.Builder,GetDocumentTextDetectionResponse>
Modifier and Type | Method and Description |
---|---|
GetDocumentTextDetectionResponse.Builder |
blocks(Block... blocks)
The results of the text-detection operation.
|
GetDocumentTextDetectionResponse.Builder |
blocks(Collection<Block> blocks)
The results of the text-detection operation.
|
GetDocumentTextDetectionResponse.Builder |
blocks(Consumer<Block.Builder>... blocks)
The results of the text-detection operation.
|
GetDocumentTextDetectionResponse.Builder |
detectDocumentTextModelVersion(String detectDocumentTextModelVersion)
|
default GetDocumentTextDetectionResponse.Builder |
documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata)
Information about a document that Amazon Textract processed.
|
GetDocumentTextDetectionResponse.Builder |
documentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
|
GetDocumentTextDetectionResponse.Builder |
jobStatus(JobStatus jobStatus)
The current status of the text detection job.
|
GetDocumentTextDetectionResponse.Builder |
jobStatus(String jobStatus)
The current status of the text detection job.
|
GetDocumentTextDetectionResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token.
|
GetDocumentTextDetectionResponse.Builder |
statusMessage(String statusMessage)
Returns if the detection job could not be completed.
|
GetDocumentTextDetectionResponse.Builder |
warnings(Collection<Warning> warnings)
A list of warnings that occurred during the text-detection operation for the document.
|
GetDocumentTextDetectionResponse.Builder |
warnings(Consumer<Warning.Builder>... warnings)
A list of warnings that occurred during the text-detection operation for the document.
|
GetDocumentTextDetectionResponse.Builder |
warnings(Warning... warnings)
A list of warnings that occurred during the text-detection operation for the document.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetDocumentTextDetectionResponse.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 GetDocumentTextDetectionResponse.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)
GetDocumentTextDetectionResponse.Builder jobStatus(String jobStatus)
The current status of the text detection job.
GetDocumentTextDetectionResponse.Builder jobStatus(JobStatus jobStatus)
The current status of the text detection job.
GetDocumentTextDetectionResponse.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.GetDocumentTextDetectionResponse.Builder blocks(Collection<Block> blocks)
The results of the text-detection operation.
blocks
- The results of the text-detection operation.GetDocumentTextDetectionResponse.Builder blocks(Block... blocks)
The results of the text-detection operation.
blocks
- The results of the text-detection operation.GetDocumentTextDetectionResponse.Builder blocks(Consumer<Block.Builder>... blocks)
The results of the text-detection 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)
GetDocumentTextDetectionResponse.Builder warnings(Collection<Warning> warnings)
A list of warnings that occurred during the text-detection operation for the document.
warnings
- A list of warnings that occurred during the text-detection operation for the document.GetDocumentTextDetectionResponse.Builder warnings(Warning... warnings)
A list of warnings that occurred during the text-detection operation for the document.
warnings
- A list of warnings that occurred during the text-detection operation for the document.GetDocumentTextDetectionResponse.Builder warnings(Consumer<Warning.Builder>... warnings)
A list of warnings that occurred during the text-detection operation for the document.
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)
GetDocumentTextDetectionResponse.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.GetDocumentTextDetectionResponse.Builder detectDocumentTextModelVersion(String detectDocumentTextModelVersion)
detectDocumentTextModelVersion
- Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.