Interface EndOfOutputEvent.Builder

  • Method Details

    • finalResponseMessage

      EndOfOutputEvent.Builder finalResponseMessage(String finalResponseMessage)

      The final response message from the agent.

      Parameters:
      finalResponseMessage - The final response message from the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      The response options that you can use to easily answer follow-up questions from the agent.

      Parameters:
      options - The response options that you can use to easily answer follow-up questions from the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      EndOfOutputEvent.Builder options(String... options)

      The response options that you can use to easily answer follow-up questions from the agent.

      Parameters:
      options - The response options that you can use to easily answer follow-up questions from the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationId

      EndOfOutputEvent.Builder conversationId(String conversationId)

      The conversation ID of the request. You can use this ID to continue the profile mapping based on this request's context at a later time.

      Parameters:
      conversationId - The conversation ID of the request. You can use this ID to continue the profile mapping based on this request's context at a later time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.