Interface LexConfiguration.Builder

    • Method Detail

      • respondsTo

        LexConfiguration.Builder respondsTo​(String respondsTo)

        Deprecated. Use InvokedBy instead.

        Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.

        Parameters:
        respondsTo -

        Deprecated. Use InvokedBy instead.

        Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RespondsTo, RespondsTo
      • respondsTo

        LexConfiguration.Builder respondsTo​(RespondsTo respondsTo)

        Deprecated. Use InvokedBy instead.

        Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.

        Parameters:
        respondsTo -

        Deprecated. Use InvokedBy instead.

        Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RespondsTo, RespondsTo
      • invokedBy

        LexConfiguration.Builder invokedBy​(InvokedBy invokedBy)

        Specifies the type of message that triggers a bot.

        Parameters:
        invokedBy - Specifies the type of message that triggers a bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lexBotAliasArn

        LexConfiguration.Builder lexBotAliasArn​(String lexBotAliasArn)

        The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format: arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS

        Parameters:
        lexBotAliasArn - The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format: arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        LexConfiguration.Builder localeId​(String localeId)

        Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.

        Parameters:
        localeId - Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • welcomeIntent

        LexConfiguration.Builder welcomeIntent​(String welcomeIntent)

        The name of the welcome intent configured in the Amazon Lex V2 bot.

        Parameters:
        welcomeIntent - The name of the welcome intent configured in the Amazon Lex V2 bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.