Class InlineDocumentEnrichmentConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.InlineDocumentEnrichmentConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,InlineDocumentEnrichmentConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class InlineDocumentEnrichmentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,InlineDocumentEnrichmentConfiguration>
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q Business.
To apply advanced logic, to go beyond what you can do with basic logic, see
HookConfiguration.For more information, see Custom document enrichment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInlineDocumentEnrichmentConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineDocumentEnrichmentConfiguration.Builderbuilder()DocumentAttributeConditioncondition()Returns the value of the Condition property for this object.DocumentContentOperatordocumentContentOperator()TRUEto delete content if the condition used for the target attribute is met.StringdocumentContentOperatorAsString()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 InlineDocumentEnrichmentConfiguration.Builder>serializableBuilderClass()DocumentAttributeTargettarget()Returns the value of the Target property for this object.InlineDocumentEnrichmentConfiguration.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()
Returns the value of the Condition property for this object.- Returns:
- The value of the Condition property for this object.
-
target
public final DocumentAttributeTarget target()
Returns the value of the Target property for this object.- Returns:
- The value of the Target property for this object.
-
documentContentOperator
public final DocumentContentOperator documentContentOperator()
TRUEto delete content if the condition used for the target attribute is met.If the service returns an enum value that is not available in the current SDK version,
documentContentOperatorwill returnDocumentContentOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdocumentContentOperatorAsString().- Returns:
TRUEto delete content if the condition used for the target attribute is met.- See Also:
DocumentContentOperator
-
documentContentOperatorAsString
public final String documentContentOperatorAsString()
TRUEto delete content if the condition used for the target attribute is met.If the service returns an enum value that is not available in the current SDK version,
documentContentOperatorwill returnDocumentContentOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdocumentContentOperatorAsString().- Returns:
TRUEto delete content if the condition used for the target attribute is met.- See Also:
DocumentContentOperator
-
toBuilder
public InlineDocumentEnrichmentConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,InlineDocumentEnrichmentConfiguration>
-
builder
public static InlineDocumentEnrichmentConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends InlineDocumentEnrichmentConfiguration.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.
-
-