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