Class CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalModelRequestFields(Object additionalModelRequestFields) build()Builds the configured instance.inferenceConfig(IResolvable inferenceConfig) performanceConfig(CfnFlowVersionPropsMixin.PerformanceConfigurationProperty performanceConfig) performanceConfig(IResolvable performanceConfig) promptTemplate(IResolvable promptTemplate)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalModelRequestFields
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder additionalModelRequestFields(Object additionalModelRequestFields) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getAdditionalModelRequestFields()- Parameters:
additionalModelRequestFields- The additional model-specific request parameters as key-value pairs to be included in the request to the foundation model.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder inferenceConfig(IResolvable inferenceConfig) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getInferenceConfig()- Parameters:
inferenceConfig- Contains inference configurations for the prompt.- Returns:
this
-
inferenceConfig
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder inferenceConfig(CfnFlowVersionPropsMixin.PromptInferenceConfigurationProperty inferenceConfig) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getInferenceConfig()- Parameters:
inferenceConfig- Contains inference configurations for the prompt.- Returns:
this
-
performanceConfig
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder performanceConfig(IResolvable performanceConfig) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getPerformanceConfig()- Parameters:
performanceConfig- The performance configuration options for the knowledge base retrieval and generation process.- Returns:
this
-
performanceConfig
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder performanceConfig(CfnFlowVersionPropsMixin.PerformanceConfigurationProperty performanceConfig) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getPerformanceConfig()- Parameters:
performanceConfig- The performance configuration options for the knowledge base retrieval and generation process.- Returns:
this
-
promptTemplate
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder promptTemplate(IResolvable promptTemplate) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getPromptTemplate()- Parameters:
promptTemplate- A custom prompt template for orchestrating the retrieval and generation process.- Returns:
this
-
promptTemplate
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.Builder promptTemplate(CfnFlowVersionPropsMixin.KnowledgeBasePromptTemplateProperty promptTemplate) Sets the value ofCfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty.getPromptTemplate()- Parameters:
promptTemplate- A custom prompt template for orchestrating the retrieval and generation process.- Returns:
this
-
build
@Stability(Stable) public CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-