Interface FlowNodeInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FlowNodeInput.Builder,FlowNodeInput>,SdkBuilder<FlowNodeInput.Builder,FlowNodeInput>,SdkPojo
- Enclosing class:
- FlowNodeInput
@Mutable @NotThreadSafe public static interface FlowNodeInput.Builder extends SdkPojo, CopyableBuilder<FlowNodeInput.Builder,FlowNodeInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowNodeInput.Buildercategory(String category)Specifies how input data flows between iterations in a DoWhile loop.FlowNodeInput.Buildercategory(FlowNodeInputCategory category)Specifies how input data flows between iterations in a DoWhile loop.FlowNodeInput.Builderexpression(String expression)An expression that formats the input for the node.FlowNodeInput.Buildername(String name)Specifies a name for the input that you can reference.FlowNodeInput.Buildertype(String type)Specifies the data type of the input.FlowNodeInput.Buildertype(FlowNodeIODataType type)Specifies the data type of the input.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
FlowNodeInput.Builder name(String name)
Specifies a name for the input that you can reference.
- Parameters:
name- Specifies a name for the input that you can reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
FlowNodeInput.Builder type(String type)
Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowNodeIODataType,FlowNodeIODataType
-
type
FlowNodeInput.Builder type(FlowNodeIODataType type)
Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowNodeIODataType,FlowNodeIODataType
-
expression
FlowNodeInput.Builder expression(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
category
FlowNodeInput.Builder category(String 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowNodeInputCategory,FlowNodeInputCategory
-
-
category
FlowNodeInput.Builder category(FlowNodeInputCategory 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowNodeInputCategory,FlowNodeInputCategory
-
-
-