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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutBotAliasRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
PutBotAliasRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBotAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.