Class CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inferenceConfiguration(CfnFlowVersionPropsMixin.PromptInferenceConfigurationProperty inferenceConfiguration) inferenceConfiguration(IResolvable inferenceConfiguration) templateConfiguration(CfnFlowVersionPropsMixin.PromptTemplateConfigurationProperty templateConfiguration) templateConfiguration(IResolvable templateConfiguration) templateType(String templateType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inferenceConfiguration
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder inferenceConfiguration(IResolvable inferenceConfiguration) Sets the value ofCfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.getInferenceConfiguration()- Parameters:
inferenceConfiguration- Contains inference configurations for the prompt.- Returns:
this
-
inferenceConfiguration
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder inferenceConfiguration(CfnFlowVersionPropsMixin.PromptInferenceConfigurationProperty inferenceConfiguration) Sets the value ofCfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.getInferenceConfiguration()- Parameters:
inferenceConfiguration- Contains inference configurations for the prompt.- Returns:
this
-
modelId
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder modelId(String modelId) - Parameters:
modelId- The unique identifier of the model or inference profile to run inference with.- Returns:
this
-
templateConfiguration
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder templateConfiguration(IResolvable templateConfiguration) Sets the value ofCfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.getTemplateConfiguration()- Parameters:
templateConfiguration- Contains a prompt and variables in the prompt that can be replaced with values at runtime.- Returns:
this
-
templateConfiguration
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder templateConfiguration(CfnFlowVersionPropsMixin.PromptTemplateConfigurationProperty templateConfiguration) Sets the value ofCfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.getTemplateConfiguration()- Parameters:
templateConfiguration- Contains a prompt and variables in the prompt that can be replaced with values at runtime.- Returns:
this
-
templateType
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.Builder templateType(String templateType) Sets the value ofCfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty.getTemplateType()- Parameters:
templateType- The type of prompt template.- Returns:
this
-
build
@Stability(Stable) public CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.PromptFlowNodeInlineConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-