@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentEnrichmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
| Constructor and Description |
|---|
DocumentEnrichmentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DocumentEnrichmentConfiguration |
clone() |
boolean |
equals(Object obj) |
List<InlineDocumentEnrichmentConfiguration> |
getInlineConfigurations()
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Q Business.
|
HookConfiguration |
getPostExtractionHookConfiguration() |
HookConfiguration |
getPreExtractionHookConfiguration() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Q Business.
|
void |
setPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration) |
void |
setPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration) |
String |
toString()
Returns a string representation of this object.
|
DocumentEnrichmentConfiguration |
withInlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Q Business.
|
DocumentEnrichmentConfiguration |
withInlineConfigurations(InlineDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Q Business.
|
DocumentEnrichmentConfiguration |
withPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration) |
DocumentEnrichmentConfiguration |
withPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration) |
public List<InlineDocumentEnrichmentConfiguration> getInlineConfigurations()
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
public void setInlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
inlineConfigurations - Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Q Business.public DocumentEnrichmentConfiguration withInlineConfigurations(InlineDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
NOTE: This method appends the values to the existing list (if any). Use
setInlineConfigurations(java.util.Collection) or withInlineConfigurations(java.util.Collection)
if you want to override the existing values.
inlineConfigurations - Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Q Business.public DocumentEnrichmentConfiguration withInlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
inlineConfigurations - Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Q Business.public void setPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
preExtractionHookConfiguration - public HookConfiguration getPreExtractionHookConfiguration()
public DocumentEnrichmentConfiguration withPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
preExtractionHookConfiguration - public void setPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
postExtractionHookConfiguration - public HookConfiguration getPostExtractionHookConfiguration()
public DocumentEnrichmentConfiguration withPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
postExtractionHookConfiguration - public String toString()
toString in class ObjectObject.toString()public DocumentEnrichmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.