@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomDocumentEnrichmentConfiguration 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 Customizing document metadata during the ingestion process.
Constructor and Description |
---|
CustomDocumentEnrichmentConfiguration() |
Modifier and Type | Method and Description |
---|---|
CustomDocumentEnrichmentConfiguration |
clone() |
boolean |
equals(Object obj) |
List<InlineCustomDocumentEnrichmentConfiguration> |
getInlineConfigurations()
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Kendra.
|
HookConfiguration |
getPostExtractionHookConfiguration()
Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted.
|
HookConfiguration |
getPreExtractionHookConfiguration()
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration and
PostExtractionHookConfiguration for altering document metadata and content during the document
ingestion process. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Kendra.
|
void |
setPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted.
|
void |
setPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration and
PostExtractionHookConfiguration for altering document metadata and content during the document
ingestion process. |
String |
toString()
Returns a string representation of this object.
|
CustomDocumentEnrichmentConfiguration |
withInlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Kendra.
|
CustomDocumentEnrichmentConfiguration |
withInlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents
into Amazon Kendra.
|
CustomDocumentEnrichmentConfiguration |
withPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted.
|
CustomDocumentEnrichmentConfiguration |
withPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text.
|
CustomDocumentEnrichmentConfiguration |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration and
PostExtractionHookConfiguration for altering document metadata and content during the document
ingestion process. |
public CustomDocumentEnrichmentConfiguration()
public List<InlineCustomDocumentEnrichmentConfiguration> getInlineConfigurations()
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
public void setInlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
inlineConfigurations
- Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.public CustomDocumentEnrichmentConfiguration withInlineConfigurations(InlineCustomDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
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 Kendra.public CustomDocumentEnrichmentConfiguration withInlineConfigurations(Collection<InlineCustomDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
inlineConfigurations
- Configuration information to alter document attributes or metadata fields and content when ingesting
documents into Amazon Kendra.public void setPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
preExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.public HookConfiguration getPreExtractionHookConfiguration()
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
public CustomDocumentEnrichmentConfiguration withPreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
preExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on the original or raw documents before
extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.public void setPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
postExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted. You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.public HookConfiguration getPostExtractionHookConfiguration()
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
public CustomDocumentEnrichmentConfiguration withPostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
postExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on the structured documents with their
metadata and text extracted. You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration
and
PostExtractionHookConfiguration
for altering document metadata and content during the document
ingestion process. For more information, see IAM roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
and PostExtractionHookConfiguration
for altering
document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.public String getRoleArn()
The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration
and
PostExtractionHookConfiguration
for altering document metadata and content during the document
ingestion process. For more information, see IAM roles for Amazon Kendra.
PreExtractionHookConfiguration
and PostExtractionHookConfiguration
for altering
document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.public CustomDocumentEnrichmentConfiguration withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration
and
PostExtractionHookConfiguration
for altering document metadata and content during the document
ingestion process. For more information, see IAM roles for Amazon Kendra.
roleArn
- The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
and PostExtractionHookConfiguration
for altering
document metadata and content during the document ingestion process. For more information, see IAM roles for Amazon Kendra.public String toString()
toString
in class Object
Object.toString()
public CustomDocumentEnrichmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.