Class CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputVariables(List<? extends Object> inputVariables) inputVariables(IResolvable inputVariables)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputVariables
@Stability(Stable) public CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder inputVariables(IResolvable inputVariables) Sets the value ofCfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.getInputVariables()- Parameters:
inputVariables- An array of the variables in the prompt template.- Returns:
this
-
inputVariables
@Stability(Stable) public CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder inputVariables(List<? extends Object> inputVariables) Sets the value ofCfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.getInputVariables()- Parameters:
inputVariables- An array of the variables in the prompt template.- Returns:
this
-
text
@Stability(Stable) public CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty.Builder text(String text) - Parameters:
text- The message for the prompt.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-