public static interface InlineCustomDocumentEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default InlineCustomDocumentEnrichmentConfiguration.Builder |
condition(Consumer<DocumentAttributeCondition.Builder> condition)
Configuration of the condition used for the target document attribute or metadata field when ingesting
documents into Amazon Kendra.
|
InlineCustomDocumentEnrichmentConfiguration.Builder |
condition(DocumentAttributeCondition condition)
Configuration of the condition used for the target document attribute or metadata field when ingesting
documents into Amazon Kendra.
|
InlineCustomDocumentEnrichmentConfiguration.Builder |
documentContentDeletion(Boolean documentContentDeletion)
TRUE to delete content if the condition used for the target attribute is met. |
default InlineCustomDocumentEnrichmentConfiguration.Builder |
target(Consumer<DocumentAttributeTarget.Builder> target)
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
|
InlineCustomDocumentEnrichmentConfiguration.Builder |
target(DocumentAttributeTarget target)
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInlineCustomDocumentEnrichmentConfiguration.Builder condition(DocumentAttributeCondition condition)
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
condition - Configuration of the condition used for the target document attribute or metadata field when ingesting
documents into Amazon Kendra.default InlineCustomDocumentEnrichmentConfiguration.Builder condition(Consumer<DocumentAttributeCondition.Builder> condition)
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
This is a convenience method that creates an instance of theDocumentAttributeCondition.Builder
avoiding the need to create one manually via DocumentAttributeCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to condition(DocumentAttributeCondition).
condition - a consumer that will call methods on DocumentAttributeCondition.Buildercondition(DocumentAttributeCondition)InlineCustomDocumentEnrichmentConfiguration.Builder target(DocumentAttributeTarget target)
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
target - Configuration of the target document attribute or metadata field when ingesting documents into Amazon
Kendra. You can also include a value.default InlineCustomDocumentEnrichmentConfiguration.Builder target(Consumer<DocumentAttributeTarget.Builder> target)
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
This is a convenience method that creates an instance of theDocumentAttributeTarget.Builder avoiding
the need to create one manually via DocumentAttributeTarget.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to target(DocumentAttributeTarget).
target - a consumer that will call methods on DocumentAttributeTarget.Buildertarget(DocumentAttributeTarget)InlineCustomDocumentEnrichmentConfiguration.Builder documentContentDeletion(Boolean documentContentDeletion)
TRUE to delete content if the condition used for the target attribute is met.
documentContentDeletion - TRUE to delete content if the condition used for the target attribute is met.Copyright © 2023. All rights reserved.