Interface DocumentEnrichmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentEnrichmentConfiguration.Builder,
,DocumentEnrichmentConfiguration> SdkBuilder<DocumentEnrichmentConfiguration.Builder,
,DocumentEnrichmentConfiguration> SdkPojo
- Enclosing class:
DocumentEnrichmentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioninlineConfigurations
(Collection<InlineDocumentEnrichmentConfiguration> inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.inlineConfigurations
(Consumer<InlineDocumentEnrichmentConfiguration.Builder>... inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.inlineConfigurations
(InlineDocumentEnrichmentConfiguration... inlineConfigurations) Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.postExtractionHookConfiguration
(Consumer<HookConfiguration.Builder> postExtractionHookConfiguration) Sets the value of the PostExtractionHookConfiguration property for this object.postExtractionHookConfiguration
(HookConfiguration postExtractionHookConfiguration) Sets the value of the PostExtractionHookConfiguration property for this object.preExtractionHookConfiguration
(Consumer<HookConfiguration.Builder> preExtractionHookConfiguration) Sets the value of the PreExtractionHookConfiguration property for this object.preExtractionHookConfiguration
(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 Details
-
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.Builder
avoiding the need to create one manually viaInlineDocumentEnrichmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinlineConfigurations(List<InlineDocumentEnrichmentConfiguration>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaHookConfiguration.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaHookConfiguration.builder()
.When the
Consumer
completes,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:
-