JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lexruntimev2.model

Class RecognizeTextRequest

    • Constructor Detail

      • RecognizeTextRequest

        public RecognizeTextRequest()
    • Method Detail

      • setBotId

        public void setBotId(String botId)

        The identifier of the bot that processes the request.

        Parameters:
        botId - The identifier of the bot that processes the request.
      • getBotId

        public String getBotId()

        The identifier of the bot that processes the request.

        Returns:
        The identifier of the bot that processes the request.
      • withBotId

        public RecognizeTextRequest withBotId(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.
      • setBotAliasId

        public void setBotAliasId(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.
      • getBotAliasId

        public String getBotAliasId()

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

        Returns:
        The alias identifier in use for the bot that processes the request.
      • withBotAliasId

        public RecognizeTextRequest withBotAliasId(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.
      • setLocaleId

        public void setLocaleId(String localeId)

        The locale where the session is in use.

        Parameters:
        localeId - The locale where the session is in use.
      • getLocaleId

        public String getLocaleId()

        The locale where the session is in use.

        Returns:
        The locale where the session is in use.
      • withLocaleId

        public RecognizeTextRequest withLocaleId(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.
      • setSessionId

        public void setSessionId(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.
      • getSessionId

        public String getSessionId()

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

        Returns:
        The identifier of the user session that is having the conversation.
      • withSessionId

        public RecognizeTextRequest withSessionId(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.
      • setText

        public void setText(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.
      • getText

        public String getText()

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

        Returns:
        The text that the user entered. Amazon Lex V2 interprets this text.
      • withText

        public RecognizeTextRequest withText(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.
      • setSessionState

        public void setSessionState(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.
      • getSessionState

        public SessionState getSessionState()

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

        Returns:
        The current state of the dialog between the user and the bot.
      • withSessionState

        public RecognizeTextRequest withSessionState(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.
      • getRequestAttributes

        public Map<String,String> getRequestAttributes()

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

      • setRequestAttributes

        public void setRequestAttributes(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:.

      • withRequestAttributes

        public RecognizeTextRequest withRequestAttributes(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.
      • clearRequestAttributesEntries

        public RecognizeTextRequest clearRequestAttributesEntries()
        Removes all the entries added into RequestAttributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /