Interface FollowUpPrompt.Builder

    • Method Detail

      • prompt

        FollowUpPrompt.Builder prompt​(Prompt prompt)

        Prompts for information from the user.

        Parameters:
        prompt - Prompts for information from the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rejectionStatement

        FollowUpPrompt.Builder rejectionStatement​(Statement rejectionStatement)

        If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

        Parameters:
        rejectionStatement - If the user answers "no" to the question defined in the prompt field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.