Class CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.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 CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(IResolvable condition) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getCondition()- 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 CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(CfnDataSourcePropsMixin.DocumentAttributeConditionProperty condition) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getCondition()- 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 CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(Boolean documentContentDeletion) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()- Parameters:
documentContentDeletion-TRUEto delete content if the condition used for the target attribute is met.- Returns:
this
-
documentContentDeletion
@Stability(Stable) public CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(IResolvable documentContentDeletion) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()- Parameters:
documentContentDeletion-TRUEto delete content if the condition used for the target attribute is met.- Returns:
this
-
target
@Stability(Stable) public CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(IResolvable target) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getTarget()- 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 CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(CfnDataSourcePropsMixin.DocumentAttributeTargetProperty target) Sets the value ofCfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty.getTarget()- 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
@Stability(Stable) public CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.InlineCustomDocumentEnrichmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-