Interface BotAliasLocaleSettings.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BotAliasLocaleSettings.Builder,,- BotAliasLocaleSettings> - SdkBuilder<BotAliasLocaleSettings.Builder,,- BotAliasLocaleSettings> - SdkPojo
- Enclosing class:
- BotAliasLocaleSettings
@Mutable
@NotThreadSafe
public static interface BotAliasLocaleSettings.Builder
extends SdkPojo, CopyableBuilder<BotAliasLocaleSettings.Builder,BotAliasLocaleSettings> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault BotAliasLocaleSettings.BuildercodeHookSpecification(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
enabledDetermines 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 is- false, the locale isn't available for use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeHookSpecificationSpecifies 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.
 
- 
codeHookSpecificationdefault 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 on- CodeHookSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-