Interface KnowledgeBaseConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseConfiguration.Builder,,KnowledgeBaseConfiguration> SdkBuilder<KnowledgeBaseConfiguration.Builder,,KnowledgeBaseConfiguration> SdkPojo
- Enclosing class:
KnowledgeBaseConfiguration
@Mutable
@NotThreadSafe
public static interface KnowledgeBaseConfiguration.Builder
extends SdkPojo, CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioneventEnabled(Boolean eventEnabled) Indicates whether event notifications are enabled for the knowledge base.templateConfiguration(Consumer<KbTemplateConfiguration.Builder> templateConfiguration) The template configuration for the knowledge base.templateConfiguration(KbTemplateConfiguration templateConfiguration) The template configuration for the knowledge base.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
templateConfiguration
KnowledgeBaseConfiguration.Builder templateConfiguration(KbTemplateConfiguration templateConfiguration) The template configuration for the knowledge base.
- Parameters:
templateConfiguration- The template configuration for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
default KnowledgeBaseConfiguration.Builder templateConfiguration(Consumer<KbTemplateConfiguration.Builder> templateConfiguration) The template configuration for the knowledge base.
This is a convenience method that creates an instance of theKbTemplateConfiguration.Builderavoiding the need to create one manually viaKbTemplateConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateConfiguration(KbTemplateConfiguration).- Parameters:
templateConfiguration- a consumer that will call methods onKbTemplateConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventEnabled
Indicates whether event notifications are enabled for the knowledge base.
- Parameters:
eventEnabled- Indicates whether event notifications are enabled for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-