Interface CreateBotAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBotAliasRequest.Builder,CreateBotAliasRequest>,LexModelsV2Request.Builder,SdkBuilder<CreateBotAliasRequest.Builder,CreateBotAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBotAliasRequest
public static interface CreateBotAliasRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateBotAliasRequest.Builder,CreateBotAliasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBotAliasRequest.BuilderbotAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)Maps configuration information to a specific locale.CreateBotAliasRequest.BuilderbotAliasName(String botAliasName)The alias to create.CreateBotAliasRequest.BuilderbotId(String botId)The unique identifier of the bot that the alias applies to.CreateBotAliasRequest.BuilderbotVersion(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.CreateBotAliasRequest.BuilderconversationLogSettings(ConversationLogSettings conversationLogSettings)Specifies whether Amazon Lex logs text and audio for a conversation with the bot.CreateBotAliasRequest.Builderdescription(String description)A description of the alias.CreateBotAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBotAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateBotAliasRequest.BuildersentimentAnalysisSettings(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings)Sets the value of the SentimentAnalysisSettings property for this object.CreateBotAliasRequest.BuildersentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings)Sets the value of the SentimentAnalysisSettings property for this object.CreateBotAliasRequest.Buildertags(Map<String,String> tags)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.lexmodelsv2.model.LexModelsV2Request.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 Detail
-
botAliasName
CreateBotAliasRequest.Builder botAliasName(String 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
CreateBotAliasRequest.Builder description(String 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
CreateBotAliasRequest.Builder botVersion(String 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:
conversationLogSettings(ConversationLogSettings)
-
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:
sentimentAnalysisSettings(SentimentAnalysisSettings)
-
botId
CreateBotAliasRequest.Builder botId(String 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
CreateBotAliasRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBotAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-