Interface DocumentEnrichmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentEnrichmentConfiguration.Builder,DocumentEnrichmentConfiguration>,SdkBuilder<DocumentEnrichmentConfiguration.Builder,DocumentEnrichmentConfiguration>,SdkPojo
- Enclosing class:
- DocumentEnrichmentConfiguration
public static interface DocumentEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<DocumentEnrichmentConfiguration.Builder,DocumentEnrichmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DocumentEnrichmentConfiguration.BuilderinlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.DocumentEnrichmentConfiguration.BuilderinlineConfigurations(Consumer<InlineDocumentEnrichmentConfiguration.Builder>... inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.DocumentEnrichmentConfiguration.BuilderinlineConfigurations(InlineDocumentEnrichmentConfiguration... inlineConfigurations)Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.default DocumentEnrichmentConfiguration.BuilderpostExtractionHookConfiguration(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration)Sets the value of the PostExtractionHookConfiguration property for this object.DocumentEnrichmentConfiguration.BuilderpostExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)Sets the value of the PostExtractionHookConfiguration property for this object.default DocumentEnrichmentConfiguration.BuilderpreExtractionHookConfiguration(Consumer<HookConfiguration.Builder> preExtractionHookConfiguration)Sets the value of the PreExtractionHookConfiguration property for this object.DocumentEnrichmentConfiguration.BuilderpreExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)Sets the value of the PreExtractionHookConfiguration property for this object.-
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
-
inlineConfigurations
DocumentEnrichmentConfiguration.Builder inlineConfigurations(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
- Parameters:
inlineConfigurations- Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineConfigurations
DocumentEnrichmentConfiguration.Builder inlineConfigurations(InlineDocumentEnrichmentConfiguration... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
- Parameters:
inlineConfigurations- Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineConfigurations
DocumentEnrichmentConfiguration.Builder inlineConfigurations(Consumer<InlineDocumentEnrichmentConfiguration.Builder>... inlineConfigurations)
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.
This is a convenience method that creates an instance of theInlineDocumentEnrichmentConfiguration.Builderavoiding the need to create one manually viaInlineDocumentEnrichmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inlineConfigurations(List.) - Parameters:
inlineConfigurations- a consumer that will call methods onInlineDocumentEnrichmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inlineConfigurations(java.util.Collection)
-
preExtractionHookConfiguration
DocumentEnrichmentConfiguration.Builder preExtractionHookConfiguration(HookConfiguration preExtractionHookConfiguration)
Sets the value of the PreExtractionHookConfiguration property for this object.- Parameters:
preExtractionHookConfiguration- The new value for the PreExtractionHookConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preExtractionHookConfiguration
default DocumentEnrichmentConfiguration.Builder preExtractionHookConfiguration(Consumer<HookConfiguration.Builder> preExtractionHookConfiguration)
Sets the value of the PreExtractionHookConfiguration property for this object. This is a convenience method that creates an instance of theHookConfiguration.Builderavoiding the need to create one manually viaHookConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreExtractionHookConfiguration(HookConfiguration).- Parameters:
preExtractionHookConfiguration- a consumer that will call methods onHookConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
preExtractionHookConfiguration(HookConfiguration)
-
postExtractionHookConfiguration
DocumentEnrichmentConfiguration.Builder postExtractionHookConfiguration(HookConfiguration postExtractionHookConfiguration)
Sets the value of the PostExtractionHookConfiguration property for this object.- Parameters:
postExtractionHookConfiguration- The new value for the PostExtractionHookConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postExtractionHookConfiguration
default DocumentEnrichmentConfiguration.Builder postExtractionHookConfiguration(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration)
Sets the value of the PostExtractionHookConfiguration property for this object. This is a convenience method that creates an instance of theHookConfiguration.Builderavoiding the need to create one manually viaHookConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostExtractionHookConfiguration(HookConfiguration).- Parameters:
postExtractionHookConfiguration- a consumer that will call methods onHookConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
postExtractionHookConfiguration(HookConfiguration)
-
-