Interface UpdateBotLocaleRequest.Builder

    • Method Detail

      • botId

        UpdateBotLocaleRequest.Builder botId​(String botId)

        The unique identifier of the bot that contains the locale.

        Parameters:
        botId - The unique identifier of the bot that contains the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botVersion

        UpdateBotLocaleRequest.Builder botVersion​(String botVersion)

        The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.

        Parameters:
        botVersion - The version of the bot that contains the locale to be updated. The version can only be the DRAFT version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        UpdateBotLocaleRequest.Builder localeId​(String localeId)

        The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.

        Parameters:
        localeId - The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateBotLocaleRequest.Builder description​(String description)

        The new description of the locale.

        Parameters:
        description - The new description of the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nluIntentConfidenceThreshold

        UpdateBotLocaleRequest.Builder nluIntentConfidenceThreshold​(Double nluIntentConfidenceThreshold)

        The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

        Parameters:
        nluIntentConfidenceThreshold - The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • voiceSettings

        UpdateBotLocaleRequest.Builder voiceSettings​(VoiceSettings voiceSettings)

        The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.

        Parameters:
        voiceSettings - The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generativeAISettings

        UpdateBotLocaleRequest.Builder generativeAISettings​(GenerativeAISettings generativeAISettings)

        Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.

        Parameters:
        generativeAISettings - Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
        Returns:
        Returns a reference to this object so that method calls can be chained together.