Interface CreateBotAliasRequest.Builder

  • Method Details

    • botAliasName

      CreateBotAliasRequest.Builder botAliasName(String botAliasName)

      The alias to create. The name must be unique for the bot.

      Parameters:
      botAliasName - The alias to create. The name must be unique for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateBotAliasRequest.Builder description(String description)

      A description of the alias. Use this description to help identify the alias.

      Parameters:
      description - A description of the alias. Use this description to help identify the alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      CreateBotAliasRequest.Builder botVersion(String botVersion)

      The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.

      Parameters:
      botVersion - The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botAliasLocaleSettings

      CreateBotAliasRequest.Builder botAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)

      Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.

      Parameters:
      botAliasLocaleSettings - Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationLogSettings

      CreateBotAliasRequest.Builder conversationLogSettings(ConversationLogSettings conversationLogSettings)

      Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.

      Parameters:
      conversationLogSettings - Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationLogSettings

      default CreateBotAliasRequest.Builder conversationLogSettings(Consumer<ConversationLogSettings.Builder> conversationLogSettings)

      Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.

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

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

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

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

      default CreateBotAliasRequest.Builder sentimentAnalysisSettings(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings)
      Sets the value of the SentimentAnalysisSettings property for this object. This is a convenience method that creates an instance of the SentimentAnalysisSettings.Builder avoiding the need to create one manually via SentimentAnalysisSettings.builder().

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

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

      The unique identifier of the bot that the alias applies to.

      Parameters:
      botId - The unique identifier of the bot that the alias applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the UpdateBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.

      Parameters:
      tags - A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the UpdateBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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