Interface UpdateBotLocaleResponse.Builder

    • Method Detail

      • botId

        UpdateBotLocaleResponse.Builder botId​(String botId)

        The identifier of the bot that contains the updated locale.

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

        UpdateBotLocaleResponse.Builder botVersion​(String botVersion)

        The version of the bot that contains the updated locale.

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

        UpdateBotLocaleResponse.Builder localeId​(String localeId)

        The language and locale of the updated bot locale.

        Parameters:
        localeId - The language and locale of the updated bot locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeName

        UpdateBotLocaleResponse.Builder localeName​(String localeName)

        The updated locale name for the locale.

        Parameters:
        localeName - The updated locale name for the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateBotLocaleResponse.Builder description​(String description)

        The updated description of the locale.

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

        UpdateBotLocaleResponse.Builder nluIntentConfidenceThreshold​(Double nluIntentConfidenceThreshold)

        The updated confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

        Parameters:
        nluIntentConfidenceThreshold - The updated confidence threshold for inserting 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

        UpdateBotLocaleResponse.Builder voiceSettings​(VoiceSettings voiceSettings)

        The updated Amazon Polly voice to use for voice interaction with the user.

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

        UpdateBotLocaleResponse.Builder botLocaleStatus​(String botLocaleStatus)

        The current status of the locale. When the bot status is Built the locale is ready for use.

        Parameters:
        botLocaleStatus - The current status of the locale. When the bot status is Built the locale is ready for use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotLocaleStatus, BotLocaleStatus
      • botLocaleStatus

        UpdateBotLocaleResponse.Builder botLocaleStatus​(BotLocaleStatus botLocaleStatus)

        The current status of the locale. When the bot status is Built the locale is ready for use.

        Parameters:
        botLocaleStatus - The current status of the locale. When the bot status is Built the locale is ready for use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotLocaleStatus, BotLocaleStatus
      • failureReasons

        UpdateBotLocaleResponse.Builder failureReasons​(Collection<String> failureReasons)

        If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.

        Parameters:
        failureReasons - If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        UpdateBotLocaleResponse.Builder failureReasons​(String... failureReasons)

        If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.

        Parameters:
        failureReasons - If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateTime

        UpdateBotLocaleResponse.Builder creationDateTime​(Instant creationDateTime)

        A timestamp of the date and time that the locale was created.

        Parameters:
        creationDateTime - A timestamp of the date and time that the locale was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        UpdateBotLocaleResponse.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        A timestamp of the date and time that the locale was last updated.

        Parameters:
        lastUpdatedDateTime - A timestamp of the date and time that the locale was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendedActions

        UpdateBotLocaleResponse.Builder recommendedActions​(Collection<String> recommendedActions)

        Recommended actions to take to resolve an error in the failureReasons field.

        Parameters:
        recommendedActions - Recommended actions to take to resolve an error in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendedActions

        UpdateBotLocaleResponse.Builder recommendedActions​(String... recommendedActions)

        Recommended actions to take to resolve an error in the failureReasons field.

        Parameters:
        recommendedActions - Recommended actions to take to resolve an error in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generativeAISettings

        UpdateBotLocaleResponse.Builder generativeAISettings​(GenerativeAISettings generativeAISettings)

        Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.

        Parameters:
        generativeAISettings - Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.