Interface FlowMultiTurnInputRequestEvent.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
,SdkBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
,SdkPojo
- All Known Subinterfaces:
DefaultFlowMultiTurnInputRequestEvent.Builder
- All Known Implementing Classes:
FlowMultiTurnInputRequestEvent.BuilderImpl
- Enclosing class:
- FlowMultiTurnInputRequestEvent
public static interface FlowMultiTurnInputRequestEvent.Builder extends SdkPojo, CopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowMultiTurnInputRequestEvent.Builder
content(Consumer<FlowMultiTurnInputContent.Builder> content)
The content payload containing the input request details for the multi-turn interaction.FlowMultiTurnInputRequestEvent.Builder
content(FlowMultiTurnInputContent content)
The content payload containing the input request details for the multi-turn interaction.FlowMultiTurnInputRequestEvent.Builder
nodeName(String nodeName)
The name of the node in the flow that is requesting the input.FlowMultiTurnInputRequestEvent.Builder
nodeType(String nodeType)
The type of the node in the flow that is requesting the input.FlowMultiTurnInputRequestEvent.Builder
nodeType(NodeType nodeType)
The type of the node in the flow that is requesting 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
-
content
FlowMultiTurnInputRequestEvent.Builder content(FlowMultiTurnInputContent content)
The content payload containing the input request details for the multi-turn interaction.
- Parameters:
content
- The content payload containing the input request details for the multi-turn interaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default FlowMultiTurnInputRequestEvent.Builder content(Consumer<FlowMultiTurnInputContent.Builder> content)
The content payload containing the input request details for the multi-turn interaction.
This is a convenience method that creates an instance of theFlowMultiTurnInputContent.Builder
avoiding the need to create one manually viaFlowMultiTurnInputContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(FlowMultiTurnInputContent)
.- Parameters:
content
- a consumer that will call methods onFlowMultiTurnInputContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(FlowMultiTurnInputContent)
-
nodeName
FlowMultiTurnInputRequestEvent.Builder nodeName(String nodeName)
The name of the node in the flow that is requesting the input.
- Parameters:
nodeName
- The name of the node in the flow that is requesting the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
FlowMultiTurnInputRequestEvent.Builder nodeType(String nodeType)
The type of the node in the flow that is requesting the input.
-
nodeType
FlowMultiTurnInputRequestEvent.Builder nodeType(NodeType nodeType)
The type of the node in the flow that is requesting the input.
-
-