Class InlineCustomDocumentEnrichmentConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.InlineCustomDocumentEnrichmentConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class InlineCustomDocumentEnrichmentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra. To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration.
For more information, see Customizing document metadata during the ingestion process.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInlineCustomDocumentEnrichmentConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineCustomDocumentEnrichmentConfiguration.Builderbuilder()DocumentAttributeConditioncondition()Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.BooleandocumentContentDeletion()TRUEto delete content if the condition used for the target attribute is met.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends InlineCustomDocumentEnrichmentConfiguration.Builder>serializableBuilderClass()DocumentAttributeTargettarget()Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.InlineCustomDocumentEnrichmentConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
condition
public final DocumentAttributeCondition condition()
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
- Returns:
- Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
-
target
public final DocumentAttributeTarget target()
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
- Returns:
- Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
-
documentContentDeletion
public final Boolean documentContentDeletion()
TRUEto delete content if the condition used for the target attribute is met.- Returns:
TRUEto delete content if the condition used for the target attribute is met.
-
toBuilder
public InlineCustomDocumentEnrichmentConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InlineCustomDocumentEnrichmentConfiguration.Builder,InlineCustomDocumentEnrichmentConfiguration>
-
builder
public static InlineCustomDocumentEnrichmentConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends InlineCustomDocumentEnrichmentConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-