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 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

      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 is ElicitSlot, 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.