Class CfnFlow.FlowNodeInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.FlowNodeInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FlowNodeInputProperty>
- Enclosing interface:
CfnFlow.FlowNodeInputProperty
@Stability(Stable)
public static final class CfnFlow.FlowNodeInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FlowNodeInputProperty>
A builder for
CfnFlow.FlowNodeInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlow.FlowNodeInputProperty.getCategory()expression(String expression) Sets the value ofCfnFlow.FlowNodeInputProperty.getExpression()Sets the value ofCfnFlow.FlowNodeInputProperty.getName()Sets the value ofCfnFlow.FlowNodeInputProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnFlow.FlowNodeInputProperty.getExpression()- Parameters:
expression- An expression that formats the input for the node. This parameter is required. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock .- Returns:
this
-
name
Sets the value ofCfnFlow.FlowNodeInputProperty.getName()- Parameters:
name- Specifies a name for the input that you can reference. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnFlow.FlowNodeInputProperty.getType()- Parameters:
type- Specifies the data type of the input. This parameter is required. If the input doesn't match this type at runtime, a validation error will be thrown.- Returns:
this
-
category
Sets the value ofCfnFlow.FlowNodeInputProperty.getCategory()- Parameters:
category- Specifies how input data flows between iterations in a DoWhile loop.LoopCondition- Controls whether the loop continues by evaluating condition expressions against the input data. Use this category to define the condition that determines if the loop should continue.ReturnValueToLoopStart- Defines data to pass back to the start of the loop's next iteration. Use this category for variables that you want to update for each loop iteration.ExitLoop- Defines the value that's available once the loop ends. Use this category to expose loop results to nodes outside the loop.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.FlowNodeInputProperty>- Returns:
- a new instance of
CfnFlow.FlowNodeInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-