Interface FlowMultiTurnInputRequestEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,
,FlowMultiTurnInputRequestEvent> SdkBuilder<FlowMultiTurnInputRequestEvent.Builder,
,FlowMultiTurnInputRequestEvent> SdkPojo
- All Known Subinterfaces:
DefaultFlowMultiTurnInputRequestEvent.Builder
- Enclosing class:
FlowMultiTurnInputRequestEvent
@Mutable
@NotThreadSafe
public static interface FlowMultiTurnInputRequestEvent.Builder
extends SdkPojo, CopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
Method Summary
Modifier and TypeMethodDescriptioncontent
(Consumer<FlowMultiTurnInputContent.Builder> content) The content payload containing the input request details for the multi-turn interaction.content
(FlowMultiTurnInputContent content) The content payload containing the input request details for the multi-turn interaction.The name of the node in the flow that is requesting the input.The type of the node in the flow that is requesting the input.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 Details
-
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:
-
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
The type of the node in the flow that is requesting the input.
- Parameters:
nodeType
- The type 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.
- See Also:
-
nodeType
The type of the node in the flow that is requesting the input.
- Parameters:
nodeType
- The type 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.
- See Also:
-