Interface CreateBotVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBotVersionRequest.Builder,,CreateBotVersionRequest> LexModelsV2Request.Builder,SdkBuilder<CreateBotVersionRequest.Builder,,CreateBotVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateBotVersionRequest
public static interface CreateBotVersionRequest.Builder
extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateBotVersionRequest.Builder,CreateBotVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot to create the version for.botVersionLocaleSpecification(Map<String, BotVersionLocaleDetails> botVersionLocaleSpecification) Specifies the locales that Amazon Lex adds to this version.description(String description) A description of the version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
botId
The identifier of the bot to create the version for.
- Parameters:
botId- The identifier of the bot to create the version for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the version. Use the description to help identify the version in lists.
- Parameters:
description- A description of the version. Use the description to help identify the version in lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersionLocaleSpecification
CreateBotVersionRequest.Builder botVersionLocaleSpecification(Map<String, BotVersionLocaleDetails> botVersionLocaleSpecification) Specifies the locales that Amazon Lex adds to this version. You can choose the
Draftversion or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.- Parameters:
botVersionLocaleSpecification- Specifies the locales that Amazon Lex adds to this version. You can choose theDraftversion or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBotVersionRequest.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
CreateBotVersionRequest.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.
-