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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowInput.Buildercontent(Consumer<FlowInputContent.Builder> content)Contains information about an input into the prompt flow.FlowInput.Buildercontent(FlowInputContent content)Contains information about an input into the prompt flow.FlowInput.BuildernodeInputName(String nodeInputName)The name of the input from the flow input node.FlowInput.BuildernodeName(String nodeName)The name of the flow input node that begins the prompt flow.FlowInput.BuildernodeOutputName(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 Detail
-
content
FlowInput.Builder content(FlowInputContent 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
default FlowInput.Builder content(Consumer<FlowInputContent.Builder> content)
Contains information about an input into the prompt flow.
This is a convenience method that creates an instance of theFlowInputContent.Builderavoiding the need to create one manually viaFlowInputContent.builder().When the
Consumercompletes,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:
content(FlowInputContent)
-
nodeInputName
FlowInput.Builder nodeInputName(String 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
FlowInput.Builder nodeName(String 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
FlowInput.Builder nodeOutputName(String 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.
-
-