Interface PutBotAliasRequest.Builder

    • Method Detail

      • name

        PutBotAliasRequest.Builder name​(String name)

        The name of the alias. The name is not case sensitive.

        Parameters:
        name - The name of the alias. The name is not case sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        PutBotAliasRequest.Builder description​(String description)

        A description of the alias.

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

        PutBotAliasRequest.Builder botVersion​(String botVersion)

        The version of the bot.

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

        PutBotAliasRequest.Builder botName​(String botName)

        The name of the bot.

        Parameters:
        botName - The name of the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksum

        PutBotAliasRequest.Builder checksum​(String checksum)

        Identifies a specific revision of the $LATEST version.

        When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception.

        When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception.

        Parameters:
        checksum - Identifies a specific revision of the $LATEST version.

        When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception.

        When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception.

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

        PutBotAliasRequest.Builder conversationLogs​(ConversationLogsRequest conversationLogs)

        Settings for conversation logs for the alias.

        Parameters:
        conversationLogs - Settings for conversation logs for the alias.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        PutBotAliasRequest.Builder tags​(Collection<Tag> 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 PutBotAlias 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 PutBotAlias 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.
      • tags

        PutBotAliasRequest.Builder tags​(Tag... 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 PutBotAlias 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 PutBotAlias 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.
      • tags

        PutBotAliasRequest.Builder tags​(Consumer<Tag.Builder>... 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 PutBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)