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