Class CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty>
- Enclosing interface:
- CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.condition(IResolvable condition) documentContentDeletion(Boolean documentContentDeletion) documentContentDeletion(IResolvable documentContentDeletion) target(IResolvable target)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
condition
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(IResolvable condition) - Parameters:
condition- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.- Returns:
this
-
condition
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(CfnDataSource.DocumentAttributeConditionProperty condition) - Parameters:
condition- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.- Returns:
this
-
documentContentDeletion
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(Boolean documentContentDeletion) Sets the value ofCfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()- Parameters:
documentContentDeletion-TRUEto delete content if the condition used for the target attribute is met.- Returns:
this
-
documentContentDeletion
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(IResolvable documentContentDeletion) Sets the value ofCfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()- Parameters:
documentContentDeletion-TRUEto delete content if the condition used for the target attribute is met.- Returns:
this
-
target
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(IResolvable target) - Parameters:
target- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.- Returns:
this
-
target
@Stability(Stable) public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(CfnDataSource.DocumentAttributeTargetProperty target) - Parameters:
target- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-