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