Interface InlineCustomDocumentEnrichmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>,SdkBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>,SdkPojo
- Enclosing class:
- InlineCustomDocumentEnrichmentConfiguration
public static interface InlineCustomDocumentEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InlineCustomDocumentEnrichmentConfiguration.Buildercondition(Consumer<DocumentAttributeCondition.Builder> condition)Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.InlineCustomDocumentEnrichmentConfiguration.Buildercondition(DocumentAttributeCondition condition)Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.InlineCustomDocumentEnrichmentConfiguration.BuilderdocumentContentDeletion(Boolean documentContentDeletion)TRUEto delete content if the condition used for the target attribute is met.default InlineCustomDocumentEnrichmentConfiguration.Buildertarget(Consumer<DocumentAttributeTarget.Builder> target)Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.InlineCustomDocumentEnrichmentConfiguration.Buildertarget(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 Detail
-
condition
InlineCustomDocumentEnrichmentConfiguration.Builder condition(DocumentAttributeCondition 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.Builderavoiding the need to create one manually viaDocumentAttributeCondition.builder().When the
Consumercompletes,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:
condition(DocumentAttributeCondition)
-
target
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.
- 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.Builderavoiding the need to create one manually viaDocumentAttributeTarget.builder().When the
Consumercompletes,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:
target(DocumentAttributeTarget)
-
documentContentDeletion
InlineCustomDocumentEnrichmentConfiguration.Builder documentContentDeletion(Boolean documentContentDeletion)
TRUEto delete content if the condition used for the target attribute is met.- Parameters:
documentContentDeletion-TRUEto 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.
-
-