Interface DescribeBotLocaleResponse.Builder

  • Method Details

    • 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

      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.
    • voiceSettings

      default DescribeBotLocaleResponse.Builder voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)

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

      This is a convenience method that creates an instance of the VoiceSettings.Builder avoiding the need to create one manually via VoiceSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to voiceSettings(VoiceSettings).

      Parameters:
      voiceSettings - a consumer that will call methods on VoiceSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

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

      DescribeBotLocaleResponse.Builder botLocaleHistoryEvents(Consumer<BotLocaleHistoryEvent.Builder>... botLocaleHistoryEvents)

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

      This is a convenience method that creates an instance of the BotLocaleHistoryEvent.Builder avoiding the need to create one manually via BotLocaleHistoryEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to botLocaleHistoryEvents(List<BotLocaleHistoryEvent>).

      Parameters:
      botLocaleHistoryEvents - a consumer that will call methods on BotLocaleHistoryEvent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • generativeAISettings

      default DescribeBotLocaleResponse.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings)

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

      This is a convenience method that creates an instance of the GenerativeAISettings.Builder avoiding the need to create one manually via GenerativeAISettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to generativeAISettings(GenerativeAISettings).

      Parameters:
      generativeAISettings - a consumer that will call methods on GenerativeAISettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: