Interface InlineCustomDocumentEnrichmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,
,InlineCustomDocumentEnrichmentConfiguration> SdkBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,
,InlineCustomDocumentEnrichmentConfiguration> SdkPojo
- Enclosing class:
InlineCustomDocumentEnrichmentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncondition
(Consumer<DocumentAttributeCondition.Builder> condition) Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.condition
(DocumentAttributeCondition condition) Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.documentContentDeletion
(Boolean documentContentDeletion) TRUE
to delete content if the condition used for the target attribute is met.Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.target
(DocumentAttributeTarget target) Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
condition
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
- Parameters:
condition
- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
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 viaDocumentAttributeCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocondition(DocumentAttributeCondition)
.- Parameters:
condition
- a consumer that will call methods onDocumentAttributeCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
- Parameters:
target
- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
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 viaDocumentAttributeTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(DocumentAttributeTarget)
.- Parameters:
target
- a consumer that will call methods onDocumentAttributeTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentContentDeletion
InlineCustomDocumentEnrichmentConfiguration.Builder documentContentDeletion(Boolean documentContentDeletion) TRUE
to delete content if the condition used for the target attribute is met.- Parameters:
documentContentDeletion
-TRUE
to delete content if the condition used for the target attribute is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-