public static interface PutBotAliasRequest.Builder extends LexModelBuildingRequest.Builder, SdkPojo, 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. |
default PutBotAliasRequest.Builder |
conversationLogs(Consumer<ConversationLogsRequest.Builder> conversationLogs)
Settings for conversation logs for the alias.
|
PutBotAliasRequest.Builder |
conversationLogs(ConversationLogsRequest conversationLogs)
Settings for conversation logs for the alias.
|
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.
|
PutBotAliasRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to add to the bot alias.
|
PutBotAliasRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to add to the bot alias.
|
PutBotAliasRequest.Builder |
tags(Tag... tags)
A list of tags to add to the bot alias.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 conversationLogs(ConversationLogsRequest conversationLogs)
Settings for conversation logs for the alias.
conversationLogs
- Settings for conversation logs for the alias.default PutBotAliasRequest.Builder conversationLogs(Consumer<ConversationLogsRequest.Builder> conversationLogs)
Settings for conversation logs for the alias.
This is a convenience that creates an instance of theConversationLogsRequest.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)
.conversationLogs
- a consumer that will call methods on ConversationLogsRequest.Builder
conversationLogs(ConversationLogsRequest)
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.
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.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.
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.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.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
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.