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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DialogAction.BuilderslotToElicit(String slotToElicit)If the dialog action isElicitSlot, defines the slot to elicit from the user.DialogAction.BuildersuppressNextMessage(Boolean suppressNextMessage)When true the next message for the intent is not used.DialogAction.Buildertype(String type)The action that the bot should execute.DialogAction.Buildertype(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 Detail
-
type
DialogAction.Builder type(String 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:
DialogActionType,DialogActionType
-
type
DialogAction.Builder type(DialogActionType 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:
DialogActionType,DialogActionType
-
slotToElicit
DialogAction.Builder slotToElicit(String 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
DialogAction.Builder suppressNextMessage(Boolean 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.
-
-