Interface DescribeBotLocaleResponse.Builder

    • Method Detail

      • botId

        DescribeBotLocaleResponse.Builder botId​(String botId)

        The identifier of the bot associated with the locale.

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

        DescribeBotLocaleResponse.Builder botVersion​(String botVersion)

        The version of the bot associated with the locale.

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

        DescribeBotLocaleResponse.Builder localeId​(String localeId)

        The unique identifier of the described locale.

        Parameters:
        localeId - The unique identifier of the described locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeName

        DescribeBotLocaleResponse.Builder localeName​(String localeName)

        The name of the locale.

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

        DescribeBotLocaleResponse.Builder description​(String description)

        The description of the locale.

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

        DescribeBotLocaleResponse.Builder nluIntentConfidenceThreshold​(Double nluIntentConfidenceThreshold)

        The 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 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

        DescribeBotLocaleResponse.Builder voiceSettings​(VoiceSettings voiceSettings)

        The Amazon Polly voice Amazon Lex uses for voice interaction with the user.

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

        DescribeBotLocaleResponse.Builder intentsCount​(Integer intentsCount)

        The number of intents defined for the locale.

        Parameters:
        intentsCount - The number of intents defined for the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotTypesCount

        DescribeBotLocaleResponse.Builder slotTypesCount​(Integer slotTypesCount)

        The number of slot types defined for the locale.

        Parameters:
        slotTypesCount - The number of slot types defined for the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botLocaleStatus

        DescribeBotLocaleResponse.Builder botLocaleStatus​(String botLocaleStatus)

        The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.

        Parameters:
        botLocaleStatus - The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotLocaleStatus, BotLocaleStatus
      • botLocaleStatus

        DescribeBotLocaleResponse.Builder botLocaleStatus​(BotLocaleStatus botLocaleStatus)

        The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.

        Parameters:
        botLocaleStatus - The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotLocaleStatus, BotLocaleStatus
      • failureReasons

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

        if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.

        Parameters:
        failureReasons - if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        DescribeBotLocaleResponse.Builder failureReasons​(String... failureReasons)

        if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.

        Parameters:
        failureReasons - if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateTime

        DescribeBotLocaleResponse.Builder creationDateTime​(Instant creationDateTime)

        The date and time that the locale was created.

        Parameters:
        creationDateTime - 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

        DescribeBotLocaleResponse.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The date and time that the locale was last updated.

        Parameters:
        lastUpdatedDateTime - 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.
      • lastBuildSubmittedDateTime

        DescribeBotLocaleResponse.Builder lastBuildSubmittedDateTime​(Instant lastBuildSubmittedDateTime)

        The date and time that the locale was last submitted for building.

        Parameters:
        lastBuildSubmittedDateTime - The date and time that the locale was last submitted for building.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botLocaleHistoryEvents

        DescribeBotLocaleResponse.Builder botLocaleHistoryEvents​(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)

        History of changes, such as when a locale is used in an alias, that have taken place for the locale.

        Parameters:
        botLocaleHistoryEvents - History of changes, such as when a locale is used in an alias, that have taken place for the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botLocaleHistoryEvents

        DescribeBotLocaleResponse.Builder botLocaleHistoryEvents​(BotLocaleHistoryEvent... botLocaleHistoryEvents)

        History of changes, such as when a locale is used in an alias, that have taken place for the locale.

        Parameters:
        botLocaleHistoryEvents - History of changes, such as when a locale is used in an alias, that have taken place for the locale.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendedActions

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

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

        DescribeBotLocaleResponse.Builder generativeAISettings​(GenerativeAISettings generativeAISettings)

        Contains settings for Amazon Bedrock's generative AI features for your bot locale.

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