public static final class CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
condition(CfnDataSource.DocumentAttributeConditionProperty condition)
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
condition(IResolvable condition)
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
documentContentDeletion(java.lang.Boolean documentContentDeletion)
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
documentContentDeletion(IResolvable documentContentDeletion)
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
target(CfnDataSource.DocumentAttributeTargetProperty target)
|
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder |
target(IResolvable target)
|
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(IResolvable condition)
condition
- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder condition(CfnDataSource.DocumentAttributeConditionProperty condition)
condition
- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(java.lang.Boolean documentContentDeletion)
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()
documentContentDeletion
- `TRUE` to delete content if the condition used for the target attribute is met.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder documentContentDeletion(IResolvable documentContentDeletion)
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.getDocumentContentDeletion()
documentContentDeletion
- `TRUE` to delete content if the condition used for the target attribute is met.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(IResolvable target)
target
- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
You can also include a value.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty.Builder target(CfnDataSource.DocumentAttributeTargetProperty target)
target
- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
You can also include a value.this
public CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty build()
CfnDataSource.InlineCustomDocumentEnrichmentConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided