Interface PutBotAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>,LexModelBuildingRequest.Builder,SdkBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutBotAliasRequest
public static interface PutBotAliasRequest.Builder extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
PutBotAliasRequest.Builder name(String 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
PutBotAliasRequest.Builder description(String 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
PutBotAliasRequest.Builder botVersion(String 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
PutBotAliasRequest.Builder botName(String 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
PutBotAliasRequest.Builder checksum(String 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
PutBotAliasRequest.Builder conversationLogs(ConversationLogsRequest 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:
conversationLogs(ConversationLogsRequest)
-
tags
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
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
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
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
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
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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
PutBotAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutBotAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-