Interface CreateBotAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBotAliasRequest.Builder,,CreateBotAliasRequest> LexModelsV2Request.Builder,SdkBuilder<CreateBotAliasRequest.Builder,,CreateBotAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateBotAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSettings(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) Maps configuration information to a specific locale.botAliasName(String botAliasName) The alias to create.The unique identifier of the bot that the alias applies to.botVersion(String botVersion) The version of the bot that this alias points to.default CreateBotAliasRequest.BuilderconversationLogSettings(Consumer<ConversationLogSettings.Builder> conversationLogSettings) Specifies whether Amazon Lex logs text and audio for a conversation with the bot.conversationLogSettings(ConversationLogSettings conversationLogSettings) Specifies whether Amazon Lex logs text and audio for a conversation with the bot.description(String description) A description of the alias.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateBotAliasRequest.BuildersentimentAnalysisSettings(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.sentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.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.lexmodelsv2.model.LexModelsV2Request.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
-
botAliasName
The alias to create. The name must be unique for the bot.
- Parameters:
botAliasName- The alias to create. The name must be unique for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the alias. Use this description to help identify the alias.
- Parameters:
description- A description of the alias. Use this description to help identify the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
- Parameters:
botVersion- The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasLocaleSettings
CreateBotAliasRequest.Builder botAliasLocaleSettings(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
- Parameters:
botAliasLocaleSettings- Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
CreateBotAliasRequest.Builder conversationLogSettings(ConversationLogSettings conversationLogSettings) Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
- Parameters:
conversationLogSettings- Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
default CreateBotAliasRequest.Builder conversationLogSettings(Consumer<ConversationLogSettings.Builder> conversationLogSettings) Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
This is a convenience method that creates an instance of theConversationLogSettings.Builderavoiding the need to create one manually viaConversationLogSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconversationLogSettings(ConversationLogSettings).- Parameters:
conversationLogSettings- a consumer that will call methods onConversationLogSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentimentAnalysisSettings
CreateBotAliasRequest.Builder sentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.- Parameters:
sentimentAnalysisSettings- The new value for the SentimentAnalysisSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentimentAnalysisSettings
default CreateBotAliasRequest.Builder sentimentAnalysisSettings(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object. This is a convenience method that creates an instance of theSentimentAnalysisSettings.Builderavoiding the need to create one manually viaSentimentAnalysisSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosentimentAnalysisSettings(SentimentAnalysisSettings).- Parameters:
sentimentAnalysisSettings- a consumer that will call methods onSentimentAnalysisSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botId
The unique identifier of the bot that the alias applies to.
- Parameters:
botId- The unique identifier of the bot that the alias applies to.- 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
UpdateBotAliasoperation 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 theUpdateBotAliasoperation 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.
-
overrideConfiguration
CreateBotAliasRequest.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
CreateBotAliasRequest.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.
-