Struct aws_sdk_lexmodelsv2::types::builders::LambdaCodeHookBuilder
source · #[non_exhaustive]pub struct LambdaCodeHookBuilder { /* private fields */ }
Expand description
A builder for LambdaCodeHook
.
Implementations§
source§impl LambdaCodeHookBuilder
impl LambdaCodeHookBuilder
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.
This field is required.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 get_lambda_arn(&self) -> &Option<String>
pub fn get_lambda_arn(&self) -> &Option<String>
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.
This field is required.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 get_code_hook_interface_version(&self) -> &Option<String>
pub fn get_code_hook_interface_version(&self) -> &Option<String>
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
sourcepub fn build(self) -> Result<LambdaCodeHook, BuildError>
pub fn build(self) -> Result<LambdaCodeHook, BuildError>
Consumes the builder and constructs a LambdaCodeHook
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LambdaCodeHookBuilder
impl Clone for LambdaCodeHookBuilder
source§fn clone(&self) -> LambdaCodeHookBuilder
fn clone(&self) -> LambdaCodeHookBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LambdaCodeHookBuilder
impl Debug for LambdaCodeHookBuilder
source§impl Default for LambdaCodeHookBuilder
impl Default for LambdaCodeHookBuilder
source§fn default() -> LambdaCodeHookBuilder
fn default() -> LambdaCodeHookBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LambdaCodeHookBuilder
impl PartialEq for LambdaCodeHookBuilder
source§fn eq(&self, other: &LambdaCodeHookBuilder) -> bool
fn eq(&self, other: &LambdaCodeHookBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaCodeHookBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LambdaCodeHookBuilder
impl Send for LambdaCodeHookBuilder
impl Sync for LambdaCodeHookBuilder
impl Unpin for LambdaCodeHookBuilder
impl UnwindSafe for LambdaCodeHookBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.