@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InlineDocumentEnrichmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
InlineDocumentEnrichmentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
InlineDocumentEnrichmentConfiguration |
clone() |
boolean |
equals(Object obj) |
DocumentAttributeCondition |
getCondition() |
String |
getDocumentContentOperator()
TRUE to delete content if the condition used for the target attribute is met. |
DocumentAttributeTarget |
getTarget() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCondition(DocumentAttributeCondition condition) |
void |
setDocumentContentOperator(String documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met. |
void |
setTarget(DocumentAttributeTarget target) |
String |
toString()
Returns a string representation of this object.
|
InlineDocumentEnrichmentConfiguration |
withCondition(DocumentAttributeCondition condition) |
InlineDocumentEnrichmentConfiguration |
withDocumentContentOperator(DocumentContentOperator documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met. |
InlineDocumentEnrichmentConfiguration |
withDocumentContentOperator(String documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met. |
InlineDocumentEnrichmentConfiguration |
withTarget(DocumentAttributeTarget target) |
public InlineDocumentEnrichmentConfiguration()
public void setCondition(DocumentAttributeCondition condition)
condition - public DocumentAttributeCondition getCondition()
public InlineDocumentEnrichmentConfiguration withCondition(DocumentAttributeCondition condition)
condition - public void setTarget(DocumentAttributeTarget target)
target - public DocumentAttributeTarget getTarget()
public InlineDocumentEnrichmentConfiguration withTarget(DocumentAttributeTarget target)
target - public void setDocumentContentOperator(String documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met.
documentContentOperator - TRUE to delete content if the condition used for the target attribute is met.DocumentContentOperatorpublic String getDocumentContentOperator()
TRUE to delete content if the condition used for the target attribute is met.
TRUE to delete content if the condition used for the target attribute is met.DocumentContentOperatorpublic InlineDocumentEnrichmentConfiguration withDocumentContentOperator(String documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met.
documentContentOperator - TRUE to delete content if the condition used for the target attribute is met.DocumentContentOperatorpublic InlineDocumentEnrichmentConfiguration withDocumentContentOperator(DocumentContentOperator documentContentOperator)
TRUE to delete content if the condition used for the target attribute is met.
documentContentOperator - TRUE to delete content if the condition used for the target attribute is met.DocumentContentOperatorpublic String toString()
toString in class ObjectObject.toString()public InlineDocumentEnrichmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.