#[non_exhaustive]pub struct FulfillmentStartResponseSpecification {
pub delay_in_seconds: i32,
pub message_groups: Vec<MessageGroup>,
pub allow_interrupt: Option<bool>,
}Expand description
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.delay_in_seconds: i32The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
message_groups: Vec<MessageGroup>1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
allow_interrupt: Option<bool>Determines whether the user can interrupt the start message while it is playing.
Implementations§
source§impl FulfillmentStartResponseSpecification
impl FulfillmentStartResponseSpecification
sourcepub fn delay_in_seconds(&self) -> i32
pub fn delay_in_seconds(&self) -> i32
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
sourcepub fn message_groups(&self) -> &[MessageGroup]
pub fn message_groups(&self) -> &[MessageGroup]
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Determines whether the user can interrupt the start message while it is playing.
source§impl FulfillmentStartResponseSpecification
impl FulfillmentStartResponseSpecification
sourcepub fn builder() -> FulfillmentStartResponseSpecificationBuilder
pub fn builder() -> FulfillmentStartResponseSpecificationBuilder
Creates a new builder-style object to manufacture FulfillmentStartResponseSpecification.
Trait Implementations§
source§impl Clone for FulfillmentStartResponseSpecification
impl Clone for FulfillmentStartResponseSpecification
source§fn clone(&self) -> FulfillmentStartResponseSpecification
fn clone(&self) -> FulfillmentStartResponseSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for FulfillmentStartResponseSpecification
impl PartialEq for FulfillmentStartResponseSpecification
source§fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
self and other values to be equal, and is used
by ==.