#[non_exhaustive]pub struct FulfillmentCodeHookSettingsBuilder { /* private fields */ }Expand description
A builder for FulfillmentCodeHookSettings.
Implementations§
source§impl FulfillmentCodeHookSettingsBuilder
impl FulfillmentCodeHookSettingsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
sourcepub fn post_fulfillment_status_specification(
self,
input: PostFulfillmentStatusSpecification,
) -> Self
pub fn post_fulfillment_status_specification( self, input: PostFulfillmentStatusSpecification, ) -> Self
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
sourcepub fn set_post_fulfillment_status_specification(
self,
input: Option<PostFulfillmentStatusSpecification>,
) -> Self
pub fn set_post_fulfillment_status_specification( self, input: Option<PostFulfillmentStatusSpecification>, ) -> Self
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
sourcepub fn get_post_fulfillment_status_specification(
&self,
) -> &Option<PostFulfillmentStatusSpecification>
pub fn get_post_fulfillment_status_specification( &self, ) -> &Option<PostFulfillmentStatusSpecification>
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
sourcepub fn fulfillment_updates_specification(
self,
input: FulfillmentUpdatesSpecification,
) -> Self
pub fn fulfillment_updates_specification( self, input: FulfillmentUpdatesSpecification, ) -> Self
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
sourcepub fn set_fulfillment_updates_specification(
self,
input: Option<FulfillmentUpdatesSpecification>,
) -> Self
pub fn set_fulfillment_updates_specification( self, input: Option<FulfillmentUpdatesSpecification>, ) -> Self
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
sourcepub fn get_fulfillment_updates_specification(
&self,
) -> &Option<FulfillmentUpdatesSpecification>
pub fn get_fulfillment_updates_specification( &self, ) -> &Option<FulfillmentUpdatesSpecification>
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
sourcepub fn get_active(&self) -> &Option<bool>
pub fn get_active(&self) -> &Option<bool>
Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
sourcepub fn build(self) -> FulfillmentCodeHookSettings
pub fn build(self) -> FulfillmentCodeHookSettings
Consumes the builder and constructs a FulfillmentCodeHookSettings.
Trait Implementations§
source§impl Clone for FulfillmentCodeHookSettingsBuilder
impl Clone for FulfillmentCodeHookSettingsBuilder
source§fn clone(&self) -> FulfillmentCodeHookSettingsBuilder
fn clone(&self) -> FulfillmentCodeHookSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FulfillmentCodeHookSettingsBuilder
impl Default for FulfillmentCodeHookSettingsBuilder
source§fn default() -> FulfillmentCodeHookSettingsBuilder
fn default() -> FulfillmentCodeHookSettingsBuilder
source§impl PartialEq for FulfillmentCodeHookSettingsBuilder
impl PartialEq for FulfillmentCodeHookSettingsBuilder
source§fn eq(&self, other: &FulfillmentCodeHookSettingsBuilder) -> bool
fn eq(&self, other: &FulfillmentCodeHookSettingsBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FulfillmentCodeHookSettingsBuilder
Auto Trait Implementations§
impl Freeze for FulfillmentCodeHookSettingsBuilder
impl RefUnwindSafe for FulfillmentCodeHookSettingsBuilder
impl Send for FulfillmentCodeHookSettingsBuilder
impl Sync for FulfillmentCodeHookSettingsBuilder
impl Unpin for FulfillmentCodeHookSettingsBuilder
impl UnwindSafe for FulfillmentCodeHookSettingsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more