Interface DialogAction.Builder

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