Class CfnFlowVersionPropsMixin.FlowNodeInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.FlowNodeInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FlowNodeInputProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.FlowNodeInputProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.FlowNodeInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FlowNodeInputProperty>
A builder for
CfnFlowVersionPropsMixin.FlowNodeInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getExpression()Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getName()Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnFlowVersionPropsMixin.FlowNodeInputProperty.Builder expression(String expression) Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getExpression()- Parameters:
expression- An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock .- Returns:
this
-
name
Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getName()- Parameters:
name- Specifies a name for the input that you can reference.- Returns:
this
-
type
Sets the value ofCfnFlowVersionPropsMixin.FlowNodeInputProperty.getType()- Parameters:
type- Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FlowNodeInputProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.FlowNodeInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-