public static interface CustomDocumentEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<CustomDocumentEnrichmentConfiguration.Builder,CustomDocumentEnrichmentConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CustomDocumentEnrichmentConfiguration.Builder |
inlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.
|
CustomDocumentEnrichmentConfiguration.Builder |
inlineConfigurations(Consumer<InlineCustomDocumentEnrichmentConfiguration.Builder>... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.
|
CustomDocumentEnrichmentConfiguration.Builder |
inlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.
|
default CustomDocumentEnrichmentConfiguration.Builder |
postExtractionHookConfiguration(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted.
|
CustomDocumentEnrichmentConfiguration.Builder |
postExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted.
|
default CustomDocumentEnrichmentConfiguration.Builder |
preExtractionHookConfiguration(Consumer<HookConfiguration.Builder> preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text.
|
CustomDocumentEnrichmentConfiguration.Builder |
preExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text.
|
CustomDocumentEnrichmentConfiguration.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
and PostExtractionHookConfiguration for altering document metadata and content during the
document ingestion process. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomDocumentEnrichmentConfiguration.Builder inlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
inlineConfigurations - Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.CustomDocumentEnrichmentConfiguration.Builder inlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
inlineConfigurations - Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.CustomDocumentEnrichmentConfiguration.Builder inlineConfigurations(Consumer<InlineCustomDocumentEnrichmentConfiguration.Builder>... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
This is a convenience method that creates an instance of theInlineCustomDocumentEnrichmentConfiguration.Builder
avoiding the need to create one manually via
InlineCustomDocumentEnrichmentConfiguration.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #inlineConfigurations(List.
inlineConfigurations - a consumer that will call methods on
InlineCustomDocumentEnrichmentConfiguration.Builder#inlineConfigurations(java.util.Collection) CustomDocumentEnrichmentConfiguration.Builder preExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
preExtractionHookConfiguration - Configuration information for invoking a Lambda function in Lambda on the original or raw documents
before extracting their metadata and text. You can use a Lambda function to apply advanced logic for
creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.default CustomDocumentEnrichmentConfiguration.Builder preExtractionHookConfiguration(Consumer<HookConfiguration.Builder> preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
This is a convenience method that creates an instance of theHookConfiguration.Builder avoiding the
need to create one manually via HookConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to preExtractionHookConfiguration(HookConfiguration).
preExtractionHookConfiguration - a consumer that will call methods on HookConfiguration.BuilderpreExtractionHookConfiguration(HookConfiguration)CustomDocumentEnrichmentConfiguration.Builder postExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
postExtractionHookConfiguration - Configuration information for invoking a Lambda function in Lambda on the structured documents with
their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.default CustomDocumentEnrichmentConfiguration.Builder postExtractionHookConfiguration(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
This is a convenience method that creates an instance of theHookConfiguration.Builder avoiding the
need to create one manually via HookConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to postExtractionHookConfiguration(HookConfiguration).
postExtractionHookConfiguration - a consumer that will call methods on HookConfiguration.BuilderpostExtractionHookConfiguration(HookConfiguration)CustomDocumentEnrichmentConfiguration.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration
and PostExtractionHookConfiguration for altering document metadata and content during the
document ingestion process. For more information, see IAM roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration and PostExtractionHookConfiguration for
altering document metadata and content during the document ingestion process. For more information,
see IAM roles for Amazon
Kendra.Copyright © 2023. All rights reserved.