Interface BuildBotLocaleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BuildBotLocaleRequest.Builder,,BuildBotLocaleRequest> LexModelsV2Request.Builder,SdkBuilder<BuildBotLocaleRequest.Builder,,BuildBotLocaleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BuildBotLocaleRequest
public static interface BuildBotLocaleRequest.Builder
extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<BuildBotLocaleRequest.Builder,BuildBotLocaleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot to build.botVersion(String botVersion) The version of the bot to build.The identifier of the language and locale that the bot will be used in.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 build. The identifier is returned in the response from the CreateBot operation.
- Parameters:
botId- The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot to build. This can only be the draft version of the bot.
- Parameters:
botVersion- The version of the bot to build. This can only be the draft version of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
- Parameters:
localeId- The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BuildBotLocaleRequest.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
BuildBotLocaleRequest.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.
-