Interface UpdateBotLocaleResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>, LexModelsV2Response.Builder, SdkBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
UpdateBotLocaleResponse

public static interface UpdateBotLocaleResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>
  • Method Details

    • 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

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

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

      The updated Amazon Polly voice to use 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:
    • 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

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

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

      Contains settings for generative AI features powered by Amazon Bedrock 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: