Interface StartLendingAnalysisRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartLendingAnalysisRequest.Builder,,StartLendingAnalysisRequest> SdkBuilder<StartLendingAnalysisRequest.Builder,,StartLendingAnalysisRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
StartLendingAnalysisRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) The idempotent token that you use to identify the start request.documentLocation(Consumer<DocumentLocation.Builder> documentLocation) Sets the value of the DocumentLocation property for this object.documentLocation(DocumentLocation documentLocation) Sets the value of the DocumentLocation property for this object.An identifier that you specify to be included in the completion notification published to the Amazon SNS topic.The KMS key used to encrypt the inference results.notificationChannel(Consumer<NotificationChannel.Builder> notificationChannel) Sets the value of the NotificationChannel property for this object.notificationChannel(NotificationChannel notificationChannel) Sets the value of the NotificationChannel property for this object.outputConfig(Consumer<OutputConfig.Builder> outputConfig) Sets the value of the OutputConfig property for this object.outputConfig(OutputConfig outputConfig) Sets the value of the OutputConfig property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
documentLocation
Sets the value of the DocumentLocation property for this object.- Parameters:
documentLocation- The new value for the DocumentLocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentLocation
default StartLendingAnalysisRequest.Builder documentLocation(Consumer<DocumentLocation.Builder> documentLocation) Sets the value of the DocumentLocation property for this object. This is a convenience method that creates an instance of theDocumentLocation.Builderavoiding the need to create one manually viaDocumentLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentLocation(DocumentLocation).- Parameters:
documentLocation- a consumer that will call methods onDocumentLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
The idempotent token that you use to identify the start request. If you use the same token with multiple
StartLendingAnalysisrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.- Parameters:
clientRequestToken- The idempotent token that you use to identify the start request. If you use the same token with multipleStartLendingAnalysisrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTag
An identifier that you specify to be included in the completion notification published to the Amazon SNS topic. For example, you can use
JobTagto identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).- Parameters:
jobTag- An identifier that you specify to be included in the completion notification published to the Amazon SNS topic. For example, you can useJobTagto identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
Sets the value of the NotificationChannel property for this object.- Parameters:
notificationChannel- The new value for the NotificationChannel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
default StartLendingAnalysisRequest.Builder notificationChannel(Consumer<NotificationChannel.Builder> notificationChannel) Sets the value of the NotificationChannel property for this object. This is a convenience method that creates an instance of theNotificationChannel.Builderavoiding the need to create one manually viaNotificationChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationChannel(NotificationChannel).- Parameters:
notificationChannel- a consumer that will call methods onNotificationChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
Sets the value of the OutputConfig property for this object.- Parameters:
outputConfig- The new value for the OutputConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default StartLendingAnalysisRequest.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig) Sets the value of the OutputConfig property for this object. This is a convenience method that creates an instance of theOutputConfig.Builderavoiding the need to create one manually viaOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(OutputConfig).- Parameters:
outputConfig- a consumer that will call methods onOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side, using SSE-S3.
- Parameters:
kmsKeyId- The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side, using SSE-S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartLendingAnalysisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartLendingAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-