public static interface StartDocumentAnalysisRequest.Builder extends TextractRequest.Builder, SdkPojo, CopyableBuilder<StartDocumentAnalysisRequest.Builder,StartDocumentAnalysisRequest>
Modifier and Type | Method and Description |
---|---|
StartDocumentAnalysisRequest.Builder |
clientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request.
|
default StartDocumentAnalysisRequest.Builder |
documentLocation(Consumer<DocumentLocation.Builder> documentLocation)
The location of the document to be processed.
|
StartDocumentAnalysisRequest.Builder |
documentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
|
StartDocumentAnalysisRequest.Builder |
featureTypes(Collection<FeatureType> featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest.Builder |
featureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest.Builder |
featureTypesWithStrings(Collection<String> featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest.Builder |
featureTypesWithStrings(String... featureTypes)
A list of the types of analysis to perform.
|
StartDocumentAnalysisRequest.Builder |
jobTag(String jobTag)
An identifier you specify that's included in the completion notification that's published to the Amazon SNS
topic.
|
default StartDocumentAnalysisRequest.Builder |
notificationChannel(Consumer<NotificationChannel.Builder> notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
StartDocumentAnalysisRequest.Builder |
notificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
|
StartDocumentAnalysisRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartDocumentAnalysisRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
StartDocumentAnalysisRequest.Builder documentLocation(DocumentLocation documentLocation)
The location of the document to be processed.
documentLocation
- The location of the document to be processed.default StartDocumentAnalysisRequest.Builder documentLocation(Consumer<DocumentLocation.Builder> documentLocation)
The location of the document to be processed.
This is a convenience that creates an instance of theDocumentLocation.Builder
avoiding the need to
create one manually via DocumentLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to documentLocation(DocumentLocation)
.documentLocation
- a consumer that will call methods on DocumentLocation.Builder
documentLocation(DocumentLocation)
StartDocumentAnalysisRequest.Builder featureTypesWithStrings(Collection<String> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All selectable elements (
SELECTION_ELEMENT
) that are detected are returned, whatever the value of
FeatureTypes
.
featureTypes
- A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected fields and the associated
text. To perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All
selectable elements (SELECTION_ELEMENT
) that are detected are returned, whatever the
value of FeatureTypes
.StartDocumentAnalysisRequest.Builder featureTypesWithStrings(String... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All selectable elements (
SELECTION_ELEMENT
) that are detected are returned, whatever the value of
FeatureTypes
.
featureTypes
- A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected fields and the associated
text. To perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All
selectable elements (SELECTION_ELEMENT
) that are detected are returned, whatever the
value of FeatureTypes
.StartDocumentAnalysisRequest.Builder featureTypes(Collection<FeatureType> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All selectable elements (
SELECTION_ELEMENT
) that are detected are returned, whatever the value of
FeatureTypes
.
featureTypes
- A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected fields and the associated
text. To perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All
selectable elements (SELECTION_ELEMENT
) that are detected are returned, whatever the
value of FeatureTypes
.StartDocumentAnalysisRequest.Builder featureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected fields and the associated text. To
perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All selectable elements (
SELECTION_ELEMENT
) that are detected are returned, whatever the value of
FeatureTypes
.
featureTypes
- A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected fields and the associated
text. To perform both types of analysis, add TABLES and FORMS to FeatureTypes
. All
selectable elements (SELECTION_ELEMENT
) that are detected are returned, whatever the
value of FeatureTypes
.StartDocumentAnalysisRequest.Builder clientRequestToken(String clientRequestToken)
The idempotent token that you use to identify the start request. If you use the same token with multiple
StartDocumentAnalysis
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidentally started more than once.
clientRequestToken
- The idempotent token that you use to identify the start request. If you use the same token with
multiple StartDocumentAnalysis
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidentally started more than
once.StartDocumentAnalysisRequest.Builder jobTag(String jobTag)
An identifier you specify that's included in the completion notification that's published to the Amazon SNS
topic. For example, you can use JobTag
to identify the type of document, such as a tax form or a
receipt, that the completion notification corresponds to.
jobTag
- An identifier you specify that's included in the completion notification that's published to the
Amazon SNS topic. For example, you can use JobTag
to identify the type of document, such
as a tax form or a receipt, that the completion notification corresponds to.StartDocumentAnalysisRequest.Builder notificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
notificationChannel
- The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the
operation to.default StartDocumentAnalysisRequest.Builder notificationChannel(Consumer<NotificationChannel.Builder> notificationChannel)
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
This is a convenience that creates an instance of theNotificationChannel.Builder
avoiding the need
to create one manually via NotificationChannel.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to notificationChannel(NotificationChannel)
.notificationChannel
- a consumer that will call methods on NotificationChannel.Builder
notificationChannel(NotificationChannel)
StartDocumentAnalysisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
StartDocumentAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.