Interface PutBotAliasRequest.Builder

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

public static interface PutBotAliasRequest.Builder extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>
  • Method Details

    • 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

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

      default PutBotAliasRequest.Builder conversationLogs(Consumer<ConversationLogsRequest.Builder> conversationLogs)

      Settings for conversation logs for the alias.

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

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

      Parameters:
      conversationLogs - a consumer that will call methods on ConversationLogsRequest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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<Tag>).

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

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