Interface FlowInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowInput.Builder,
,FlowInput> SdkBuilder<FlowInput.Builder,
,FlowInput> SdkPojo
- Enclosing class:
FlowInput
@Mutable
@NotThreadSafe
public static interface FlowInput.Builder
extends SdkPojo, CopyableBuilder<FlowInput.Builder,FlowInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FlowInput.Builder
content
(Consumer<FlowInputContent.Builder> content) Contains information about an input into the prompt flow.content
(FlowInputContent content) Contains information about an input into the prompt flow.nodeInputName
(String nodeInputName) The name of the input from the flow input node.The name of the flow input node that begins the prompt flow.nodeOutputName
(String nodeOutputName) The name of the output from the flow input node that begins the prompt flow.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 Details
-
content
Contains information about an input into the prompt flow.
- Parameters:
content
- Contains information about an input into the prompt flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Contains information about an input into the prompt flow.
This is a convenience method that creates an instance of theFlowInputContent.Builder
avoiding the need to create one manually viaFlowInputContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(FlowInputContent)
.- Parameters:
content
- a consumer that will call methods onFlowInputContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeInputName
The name of the input from the flow input node.
- Parameters:
nodeInputName
- The name of the input from the flow input node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeName
The name of the flow input node that begins the prompt flow.
- Parameters:
nodeName
- The name of the flow input node that begins the prompt flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeOutputName
The name of the output from the flow input node that begins the prompt flow.
- Parameters:
nodeOutputName
- The name of the output from the flow input node that begins the prompt flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-