Interface CfnDataSource.InlineDocumentEnrichmentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.InlineDocumentEnrichmentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q Business.
To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration .
For more information, see Custom document enrichment .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.qbusiness.*;
InlineDocumentEnrichmentConfigurationProperty inlineDocumentEnrichmentConfigurationProperty = InlineDocumentEnrichmentConfigurationProperty.builder()
.condition(DocumentAttributeConditionProperty.builder()
.key("key")
.operator("operator")
// the properties below are optional
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.documentContentOperator("documentContentOperator")
.target(DocumentAttributeTargetProperty.builder()
.key("key")
// the properties below are optional
.attributeValueOperator("attributeValueOperator")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSource.InlineDocumentEnrichmentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business .default StringTRUEto delete content if the condition used for the target attribute is met.default ObjectConfiguration of the target document attribute or metadata field when ingesting documents into Amazon Q Business .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCondition
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business .Returns union: either
IResolvableorCfnDataSource.DocumentAttributeConditionProperty- See Also:
-
getDocumentContentOperator
TRUEto delete content if the condition used for the target attribute is met.- See Also:
-
getTarget
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Q Business .You can also include a value.
Returns union: either
IResolvableorCfnDataSource.DocumentAttributeTargetProperty- See Also:
-
builder
@Stability(Stable) static CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder builder()
-