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$LATESTversion.default PutBotAliasRequest.BuilderconversationLogs(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
$LATESTversion.When you create a new bot alias, leave the
checksumfield blank. If you specify a checksum you get aBadRequestExceptionexception.When you want to update a bot alias, set the
checksumfield to the checksum of the most recent revision of the$LATESTversion. If you don't specify thechecksumfield, or if the checksum does not match the$LATESTversion, you get aPreconditionFailedExceptionexception.- Parameters:
checksum- Identifies a specific revision of the$LATESTversion.When you create a new bot alias, leave the
checksumfield blank. If you specify a checksum you get aBadRequestExceptionexception.When you want to update a bot alias, set the
checksumfield to the checksum of the most recent revision of the$LATESTversion. If you don't specify thechecksumfield, or if the checksum does not match the$LATESTversion, you get aPreconditionFailedExceptionexception.- 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.Builderavoiding the need to create one manually viaConversationLogsRequest.builder().When the
Consumercompletes,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
PutBotAliasoperation to update the tags on a bot alias. To update tags, use theTagResourceoperation.- 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 thePutBotAliasoperation to update the tags on a bot alias. To update tags, use theTagResourceoperation.- 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
PutBotAliasoperation to update the tags on a bot alias. To update tags, use theTagResourceoperation.- 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 thePutBotAliasoperation to update the tags on a bot alias. To update tags, use theTagResourceoperation.- 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 thePutBotAliasoperation to update the tags on a bot alias. To update tags, use theTagResourceoperation.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-