public static interface HookConfiguration.Builder extends SdkPojo, CopyableBuilder<HookConfiguration.Builder,HookConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default HookConfiguration.Builder |
invocationCondition(Consumer<DocumentAttributeCondition.Builder> invocationCondition)
The condition used for when a Lambda function should be invoked.
|
HookConfiguration.Builder |
invocationCondition(DocumentAttributeCondition invocationCondition)
The condition used for when a Lambda function should be invoked.
|
HookConfiguration.Builder |
lambdaArn(String lambdaArn)
The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion.
|
HookConfiguration.Builder |
s3Bucket(String s3Bucket)
Stores the original, raw documents or the structured, parsed documents before and after altering them.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHookConfiguration.Builder invocationCondition(DocumentAttributeCondition invocationCondition)
The condition used for when a Lambda function should be invoked.
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.
invocationCondition - The condition used for when a Lambda function should be invoked.
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.
default HookConfiguration.Builder invocationCondition(Consumer<DocumentAttributeCondition.Builder> invocationCondition)
The condition used for when a Lambda function should be invoked.
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.
This is a convenience method that creates an instance of theDocumentAttributeCondition.Builder
avoiding the need to create one manually via DocumentAttributeCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to invocationCondition(DocumentAttributeCondition).
invocationCondition - a consumer that will call methods on DocumentAttributeCondition.BuilderinvocationCondition(DocumentAttributeCondition)HookConfiguration.Builder lambdaArn(String lambdaArn)
The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see IAM roles for Amazon Kendra.
lambdaArn - The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion.
For more information, see IAM
roles for Amazon Kendra.HookConfiguration.Builder s3Bucket(String s3Bucket)
Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.
s3Bucket - Stores the original, raw documents or the structured, parsed documents before and after altering them.
For more information, see Data contracts for Lambda functions.Copyright © 2023. All rights reserved.