Interface CreateBotAliasRequest.Builder

    • Method Detail

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

        CreateBotAliasRequest.Builder botId​(String 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

        CreateBotAliasRequest.Builder tags​(Map<String,​String> 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.