Class CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.InlineDocumentEnrichmentConfigurationProperty>
- Enclosing interface:
CfnDataSource.InlineDocumentEnrichmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.InlineDocumentEnrichmentConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.condition
(IResolvable condition) documentContentOperator
(String documentContentOperator) target
(IResolvable target) Sets the value ofCfnDataSource.InlineDocumentEnrichmentConfigurationProperty.getTarget()
Sets the value ofCfnDataSource.InlineDocumentEnrichmentConfigurationProperty.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
condition
@Stability(Stable) public CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder condition(IResolvable condition) - 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 CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.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 Q Business .- Returns:
this
-
documentContentOperator
@Stability(Stable) public CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder documentContentOperator(String documentContentOperator) Sets the value ofCfnDataSource.InlineDocumentEnrichmentConfigurationProperty.getDocumentContentOperator()
- Parameters:
documentContentOperator
-TRUE
to delete content if the condition used for the target attribute is met.- Returns:
this
-
target
@Stability(Stable) public CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder target(IResolvable target) Sets the value ofCfnDataSource.InlineDocumentEnrichmentConfigurationProperty.getTarget()
- 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 CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder target(CfnDataSource.DocumentAttributeTargetProperty target) Sets the value ofCfnDataSource.InlineDocumentEnrichmentConfigurationProperty.getTarget()
- 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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.InlineDocumentEnrichmentConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.InlineDocumentEnrichmentConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-