Interface CustomDocumentEnrichmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomDocumentEnrichmentConfiguration.Builder,CustomDocumentEnrichmentConfiguration>,SdkBuilder<CustomDocumentEnrichmentConfiguration.Builder,CustomDocumentEnrichmentConfiguration>,SdkPojo
- Enclosing class:
- CustomDocumentEnrichmentConfiguration
public static interface CustomDocumentEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<CustomDocumentEnrichmentConfiguration.Builder,CustomDocumentEnrichmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomDocumentEnrichmentConfiguration.BuilderinlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.CustomDocumentEnrichmentConfiguration.BuilderinlineConfigurations(Consumer<InlineCustomDocumentEnrichmentConfiguration.Builder>... inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.CustomDocumentEnrichmentConfiguration.BuilderinlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.default CustomDocumentEnrichmentConfiguration.BuilderpostExtractionHookConfiguration(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration)Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted.CustomDocumentEnrichmentConfiguration.BuilderpostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted.default CustomDocumentEnrichmentConfiguration.BuilderpreExtractionHookConfiguration(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.BuilderpreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text.CustomDocumentEnrichmentConfiguration.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of a role with permission to runPreExtractionHookConfigurationandPostExtractionHookConfigurationfor 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 Detail
-
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.Builderavoiding the need to create one manually viaInlineCustomDocumentEnrichmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inlineConfigurations(List.) - 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:
#inlineConfigurations(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaHookConfiguration.builder().When the
Consumercompletes,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:
preExtractionHookConfiguration(HookConfiguration)
-
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.Builderavoiding the need to create one manually viaHookConfiguration.builder().When the
Consumercompletes,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:
postExtractionHookConfiguration(HookConfiguration)
-
roleArn
CustomDocumentEnrichmentConfiguration.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfigurationandPostExtractionHookConfigurationfor 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 runPreExtractionHookConfigurationandPostExtractionHookConfigurationfor 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.
-
-