Interface CreateBotLocaleResponse.Builder

  • Method Details

    • botId

      The specified bot identifier.

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

      CreateBotLocaleResponse.Builder botVersion(String botVersion)

      The specified bot version.

      Parameters:
      botVersion - The specified bot version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localeName

      CreateBotLocaleResponse.Builder localeName(String localeName)

      The specified locale name.

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

      The specified locale identifier.

      Parameters:
      localeId - The specified locale identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateBotLocaleResponse.Builder description(String description)

      The specified description of the bot locale.

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

      CreateBotLocaleResponse.Builder nluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)

      The specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.

      Parameters:
      nluIntentConfidenceThreshold - The specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voiceSettings

      CreateBotLocaleResponse.Builder voiceSettings(VoiceSettings voiceSettings)

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

      Parameters:
      voiceSettings - The Amazon Polly voice ID that 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 CreateBotLocaleResponse.Builder voiceSettings(Consumer<VoiceSettings.Builder> voiceSettings)

      The Amazon Polly voice ID that 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:
    • botLocaleStatus

      CreateBotLocaleResponse.Builder botLocaleStatus(String botLocaleStatus)

      The status of the bot.

      When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.

      If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.

      If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.

      Parameters:
      botLocaleStatus - The status of the bot.

      When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.

      If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.

      If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botLocaleStatus

      CreateBotLocaleResponse.Builder botLocaleStatus(BotLocaleStatus botLocaleStatus)

      The status of the bot.

      When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.

      If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.

      If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.

      Parameters:
      botLocaleStatus - The status of the bot.

      When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.

      If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.

      If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDateTime

      CreateBotLocaleResponse.Builder creationDateTime(Instant creationDateTime)

      A timestamp specifying the date and time that the bot locale was created.

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

      CreateBotLocaleResponse.Builder generativeAISettings(GenerativeAISettings generativeAISettings)
      Sets the value of the GenerativeAISettings property for this object.
      Parameters:
      generativeAISettings - The new value for the GenerativeAISettings property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generativeAISettings

      default CreateBotLocaleResponse.Builder generativeAISettings(Consumer<GenerativeAISettings.Builder> generativeAISettings)
      Sets the value of the GenerativeAISettings property for this object. 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: