Interface RepromptResponse.Builder

    • Method Detail

      • source

        RepromptResponse.Builder source​(String source)

        Specifies what output is prompting the agent to reprompt the input.

        Parameters:
        source - Specifies what output is prompting the agent to reprompt the input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Source, Source
      • source

        RepromptResponse.Builder source​(Source source)

        Specifies what output is prompting the agent to reprompt the input.

        Parameters:
        source - Specifies what output is prompting the agent to reprompt the input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Source, Source
      • text

        RepromptResponse.Builder text​(String text)

        The text reprompting the input.

        Parameters:
        text - The text reprompting the input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.