#[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.
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<FulfillmentCodeHookSettingsBuilder> for FulfillmentCodeHookSettingsBuilder
impl PartialEq<FulfillmentCodeHookSettingsBuilder> 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 ==.