public static interface PutBotAliasRequest.Builder extends LexModelBuildingRequest.Builder, CopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>
| Modifier and Type | Method and Description |
|---|---|
PutBotAliasRequest.Builder |
botName(String botName)
The name of the bot.
|
PutBotAliasRequest.Builder |
botVersion(String botVersion)
The version of the bot.
|
PutBotAliasRequest.Builder |
checksum(String checksum)
Identifies a specific revision of the
$LATEST version. |
PutBotAliasRequest.Builder |
description(String description)
A description of the alias.
|
PutBotAliasRequest.Builder |
name(String name)
The name of the alias.
|
PutBotAliasRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutBotAliasRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildPutBotAliasRequest.Builder name(String name)
The name of the alias. The name is not case sensitive.
name - The name of the alias. The name is not case sensitive.PutBotAliasRequest.Builder description(String description)
A description of the alias.
description - A description of the alias.PutBotAliasRequest.Builder botVersion(String botVersion)
The version of the bot.
botVersion - The version of the bot.PutBotAliasRequest.Builder botName(String botName)
The name of the bot.
botName - The name of the bot.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.
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.
PutBotAliasRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutBotAliasRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.