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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BotAliasLocaleSettings.BuildercodeHookSpecification(Consumer<CodeHookSpecification.Builder> codeHookSpecification)Specifies the Lambda function that should be used in the locale.BotAliasLocaleSettings.BuildercodeHookSpecification(CodeHookSpecification codeHookSpecification)Specifies the Lambda function that should be used in the locale.BotAliasLocaleSettings.Builderenabled(Boolean enabled)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 Detail
-
enabled
BotAliasLocaleSettings.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.- 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
BotAliasLocaleSettings.Builder codeHookSpecification(CodeHookSpecification 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.Builderavoiding the need to create one manually viaCodeHookSpecification.builder().When the
Consumercompletes,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:
codeHookSpecification(CodeHookSpecification)
-
-