public static interface BotAliasLocaleSettings.Builder extends SdkPojo, CopyableBuilder<BotAliasLocaleSettings.Builder,BotAliasLocaleSettings>
| Modifier and Type | Method and Description |
|---|---|
BotAliasLocaleSettings.Builder |
codeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
|
default BotAliasLocaleSettings.Builder |
codeHookSpecification(Consumer<CodeHookSpecification.Builder> codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
|
BotAliasLocaleSettings.Builder |
enabled(Boolean enabled)
Determines whether the locale is enabled for the bot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBotAliasLocaleSettings.Builder enabled(Boolean enabled)
Determines whether the locale is enabled for the bot. If the value is false, the locale isn't
available for use.
enabled - Determines whether the locale is enabled for the bot. If the value is false, the locale
isn't available for use.BotAliasLocaleSettings.Builder codeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
codeHookSpecification - Specifies the Lambda function that should be used in the locale.default BotAliasLocaleSettings.Builder codeHookSpecification(Consumer<CodeHookSpecification.Builder> codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
This is a convenience method that creates an instance of theCodeHookSpecification.Builder avoiding
the need to create one manually via CodeHookSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to codeHookSpecification(CodeHookSpecification).
codeHookSpecification - a consumer that will call methods on CodeHookSpecification.BuildercodeHookSpecification(CodeHookSpecification)Copyright © 2022. All rights reserved.