Interface PutBotAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutBotAliasRequest.Builder,
,PutBotAliasRequest> LexModelBuildingRequest.Builder
,SdkBuilder<PutBotAliasRequest.Builder,
,PutBotAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutBotAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bot.botVersion
(String botVersion) The version of the bot.Identifies a specific revision of the$LATEST
version.default PutBotAliasRequest.Builder
conversationLogs
(Consumer<ConversationLogsRequest.Builder> conversationLogs) Settings for conversation logs for the alias.conversationLogs
(ConversationLogsRequest conversationLogs) Settings for conversation logs for the alias.description
(String description) A description of the alias.The name of the alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A list of tags to add to the bot alias.tags
(Consumer<Tag.Builder>... tags) A list of tags to add to the bot alias.A list of tags to add to the bot alias.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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 aBadRequestException
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 thechecksum
field, or if the checksum does not match the$LATEST
version, you get aPreconditionFailedException
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 aBadRequestException
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 thechecksum
field, or if the checksum does not match the$LATEST
version, you get aPreconditionFailedException
exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theConversationLogsRequest.Builder
avoiding the need to create one manually viaConversationLogsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconversationLogs(ConversationLogsRequest)
.- Parameters:
conversationLogs
- a consumer that will call methods onConversationLogsRequest.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 theTagResource
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 thePutBotAlias
operation to update the tags on a bot alias. To update tags, use theTagResource
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 theTagResource
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 thePutBotAlias
operation to update the tags on a bot alias. To update tags, use theTagResource
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
This is a convenience method that creates an instance of thePutBotAlias
operation to update the tags on a bot alias. To update tags, use theTagResource
operation.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutBotAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-