Interface CustomDocumentEnrichmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomDocumentEnrichmentConfiguration.Builder,
,CustomDocumentEnrichmentConfiguration> SdkBuilder<CustomDocumentEnrichmentConfiguration.Builder,
,CustomDocumentEnrichmentConfiguration> SdkPojo
- Enclosing class:
CustomDocumentEnrichmentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioninlineConfigurations
(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.inlineConfigurations
(Consumer<InlineCustomDocumentEnrichmentConfiguration.Builder>... inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.inlineConfigurations
(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.postExtractionHookConfiguration
(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration) Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted.postExtractionHookConfiguration
(HookConfiguration postExtractionHookConfiguration) Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted.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.preExtractionHookConfiguration
(HookConfiguration preExtractionHookConfiguration) Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text.The Amazon Resource Name (ARN) of a role with permission to runPreExtractionHookConfiguration
andPostExtractionHookConfiguration
for altering document metadata and content during the document ingestion process.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
inlineConfigurations
CustomDocumentEnrichmentConfiguration.Builder inlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
- Parameters:
inlineConfigurations
- Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineConfigurations
CustomDocumentEnrichmentConfiguration.Builder inlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
- Parameters:
inlineConfigurations
- Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineConfigurations
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 viaInlineCustomDocumentEnrichmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinlineConfigurations(List<InlineCustomDocumentEnrichmentConfiguration>)
.- Parameters:
inlineConfigurations
- a consumer that will call methods onInlineCustomDocumentEnrichmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preExtractionHookConfiguration
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preExtractionHookConfiguration
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 viaHookConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreExtractionHookConfiguration(HookConfiguration)
.- Parameters:
preExtractionHookConfiguration
- a consumer that will call methods onHookConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postExtractionHookConfiguration
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postExtractionHookConfiguration
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 viaHookConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topostExtractionHookConfiguration(HookConfiguration)
.- Parameters:
postExtractionHookConfiguration
- a consumer that will call methods onHookConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
andPostExtractionHookConfiguration
for altering document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to runPreExtractionHookConfiguration
andPostExtractionHookConfiguration
for altering document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-