pub struct Builder { /* private fields */ }Expand description
A builder for BotAliasLocaleSettings.
Implementations§
source§impl Builder
impl Builder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Determines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Determines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.
sourcepub fn code_hook_specification(self, input: CodeHookSpecification) -> Self
pub fn code_hook_specification(self, input: CodeHookSpecification) -> Self
Specifies the Lambda function that should be used in the locale.
sourcepub fn set_code_hook_specification(
self,
input: Option<CodeHookSpecification>
) -> Self
pub fn set_code_hook_specification(
self,
input: Option<CodeHookSpecification>
) -> Self
Specifies the Lambda function that should be used in the locale.
sourcepub fn build(self) -> BotAliasLocaleSettings
pub fn build(self) -> BotAliasLocaleSettings
Consumes the builder and constructs a BotAliasLocaleSettings.