pub struct Builder { /* private fields */ }Expand description
A builder for DialogCodeHookInvocationSetting.
Implementations§
source§impl Builder
impl Builder
sourcepub fn enable_code_hook_invocation(self, input: bool) -> Self
pub fn enable_code_hook_invocation(self, input: bool) -> Self
Indicates whether a Lambda function should be invoked for the dialog.
sourcepub fn set_enable_code_hook_invocation(self, input: Option<bool>) -> Self
pub fn set_enable_code_hook_invocation(self, input: Option<bool>) -> Self
Indicates whether a Lambda function should be invoked for the dialog.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
Determines whether a dialog code hook is used when the intent is activated.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
Determines whether a dialog code hook is used when the intent is activated.
sourcepub fn invocation_label(self, input: impl Into<String>) -> Self
pub fn invocation_label(self, input: impl Into<String>) -> Self
A label that indicates the dialog step from which the dialog code hook is happening.
sourcepub fn set_invocation_label(self, input: Option<String>) -> Self
pub fn set_invocation_label(self, input: Option<String>) -> Self
A label that indicates the dialog step from which the dialog code hook is happening.
sourcepub fn post_code_hook_specification(
self,
input: PostDialogCodeHookInvocationSpecification
) -> Self
pub fn post_code_hook_specification(
self,
input: PostDialogCodeHookInvocationSpecification
) -> Self
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
sourcepub fn set_post_code_hook_specification(
self,
input: Option<PostDialogCodeHookInvocationSpecification>
) -> Self
pub fn set_post_code_hook_specification(
self,
input: Option<PostDialogCodeHookInvocationSpecification>
) -> Self
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
sourcepub fn build(self) -> DialogCodeHookInvocationSetting
pub fn build(self) -> DialogCodeHookInvocationSetting
Consumes the builder and constructs a DialogCodeHookInvocationSetting.