Interface DialogAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DialogAction.Builder,
,DialogAction> SdkBuilder<DialogAction.Builder,
,DialogAction> SdkPojo
- Enclosing class:
DialogAction
public static interface DialogAction.Builder
extends SdkPojo, CopyableBuilder<DialogAction.Builder,DialogAction>
-
Method Summary
Modifier and TypeMethodDescriptionslotToElicit
(String slotToElicit) If the dialog action isElicitSlot
, defines the slot to elicit from the user.suppressNextMessage
(Boolean suppressNextMessage) When true the next message for the intent is not used.The action that the bot should execute.type
(DialogActionType type) The action that the bot should execute.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, sdkFields
-
Method Details
-
type
The action that the bot should execute.
- Parameters:
type
- The action that the bot should execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The action that the bot should execute.
- Parameters:
type
- The action that the bot should execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slotToElicit
If the dialog action is
ElicitSlot
, defines the slot to elicit from the user.- Parameters:
slotToElicit
- If the dialog action isElicitSlot
, defines the slot to elicit from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressNextMessage
When true the next message for the intent is not used.
- Parameters:
suppressNextMessage
- When true the next message for the intent is not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-