Interface UpdateBotLocaleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>, LexModelsV2Request.Builder, SdkBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateBotLocaleRequest

public static interface UpdateBotLocaleRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>
  • Method Details

    • 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

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

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

      The new Amazon Polly voice Amazon Lex should 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:
    • 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.
    • generativeAISettings

      default UpdateBotLocaleRequest.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> 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.

      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:
    • overrideConfiguration

      UpdateBotLocaleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.