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 class
static final class
An implementation forCfnDataSource.InlineDocumentEnrichmentConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business .default String
TRUE
to delete content if the condition used for the target attribute is met.default Object
Configuration 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 .- See Also:
-
getDocumentContentOperator
TRUE
to 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.
- See Also:
-
builder
@Stability(Stable) static CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder builder()
-