Class CfnFlowPropsMixin.FlowNodeInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.FlowNodeInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.FlowNodeInputProperty>
- Enclosing interface:
CfnFlowPropsMixin.FlowNodeInputProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.FlowNodeInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.FlowNodeInputProperty>
A builder for
CfnFlowPropsMixin.FlowNodeInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowPropsMixin.FlowNodeInputProperty.getCategory()expression(String expression) Sets the value ofCfnFlowPropsMixin.FlowNodeInputProperty.getExpression()Sets the value ofCfnFlowPropsMixin.FlowNodeInputProperty.getName()Sets the value ofCfnFlowPropsMixin.FlowNodeInputProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
Sets the value ofCfnFlowPropsMixin.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
-
expression
@Stability(Stable) public CfnFlowPropsMixin.FlowNodeInputProperty.Builder expression(String expression) Sets the value ofCfnFlowPropsMixin.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 ofCfnFlowPropsMixin.FlowNodeInputProperty.getName()- Parameters:
name- Specifies a name for the input that you can reference.- Returns:
this
-
type
Sets the value ofCfnFlowPropsMixin.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<CfnFlowPropsMixin.FlowNodeInputProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.FlowNodeInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-