Interface RecognizeTextRequest.Builder

    • Method Detail

      • botId

        RecognizeTextRequest.Builder botId​(String botId)

        The identifier of the bot that processes the request.

        Parameters:
        botId - The identifier of the bot that processes the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botAliasId

        RecognizeTextRequest.Builder botAliasId​(String botAliasId)

        The alias identifier in use for the bot that processes the request.

        Parameters:
        botAliasId - The alias identifier in use for the bot that processes the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        RecognizeTextRequest.Builder localeId​(String localeId)

        The locale where the session is in use.

        Parameters:
        localeId - The locale where the session is in use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionId

        RecognizeTextRequest.Builder sessionId​(String sessionId)

        The identifier of the user session that is having the conversation.

        Parameters:
        sessionId - The identifier of the user session that is having the conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • text

        RecognizeTextRequest.Builder text​(String text)

        The text that the user entered. Amazon Lex V2 interprets this text.

        Parameters:
        text - The text that the user entered. Amazon Lex V2 interprets this text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionState

        RecognizeTextRequest.Builder sessionState​(SessionState sessionState)

        The current state of the dialog between the user and the bot.

        Parameters:
        sessionState - The current state of the dialog between the user and the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestAttributes

        RecognizeTextRequest.Builder requestAttributes​(Map<String,​String> requestAttributes)

        Request-specific information passed between the client application and Amazon Lex V2

        The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.

        Parameters:
        requestAttributes - Request-specific information passed between the client application and Amazon Lex V2

        The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.

        Returns:
        Returns a reference to this object so that method calls can be chained together.