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
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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-