Interface BotAliasLocaleSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BotAliasLocaleSettings.Builder,
,BotAliasLocaleSettings> SdkBuilder<BotAliasLocaleSettings.Builder,
,BotAliasLocaleSettings> SdkPojo
- Enclosing class:
BotAliasLocaleSettings
public static interface BotAliasLocaleSettings.Builder
extends SdkPojo, CopyableBuilder<BotAliasLocaleSettings.Builder,BotAliasLocaleSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BotAliasLocaleSettings.Builder
codeHookSpecification
(Consumer<CodeHookSpecification.Builder> codeHookSpecification) Specifies the Lambda function that should be used in the locale.codeHookSpecification
(CodeHookSpecification codeHookSpecification) Specifies the Lambda function that should be used in the locale.Determines whether the locale is enabled for the bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
enabled
Determines whether the locale is enabled for the bot. If the value is
false
, the locale isn't available for use.- Parameters:
enabled
- Determines whether the locale is enabled for the bot. If the value isfalse
, the locale isn't available for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeHookSpecification
Specifies the Lambda function that should be used in the locale.
- Parameters:
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeHookSpecification
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 viaCodeHookSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeHookSpecification(CodeHookSpecification)
.- Parameters:
codeHookSpecification
- a consumer that will call methods onCodeHookSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-