Struct aws_sdk_lexmodelsv2::model::lambda_code_hook::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for LambdaCodeHook.
Implementations§
source§impl Builder
impl Builder
sourcepub fn lambda_arn(self, input: impl Into<String>) -> Self
pub fn lambda_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function.
sourcepub fn set_lambda_arn(self, input: Option<String>) -> Self
pub fn set_lambda_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function.
sourcepub fn code_hook_interface_version(self, input: impl Into<String>) -> Self
pub fn code_hook_interface_version(self, input: impl Into<String>) -> Self
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
sourcepub fn set_code_hook_interface_version(self, input: Option<String>) -> Self
pub fn set_code_hook_interface_version(self, input: Option<String>) -> Self
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
sourcepub fn build(self) -> LambdaCodeHook
pub fn build(self) -> LambdaCodeHook
Consumes the builder and constructs a LambdaCodeHook.