#[non_exhaustive]pub struct FulfillmentUpdateResponseSpecificationBuilder { /* private fields */ }Expand description
A builder for FulfillmentUpdateResponseSpecification.
Implementations§
source§impl FulfillmentUpdateResponseSpecificationBuilder
impl FulfillmentUpdateResponseSpecificationBuilder
sourcepub fn frequency_in_seconds(self, input: i32) -> Self
pub fn frequency_in_seconds(self, input: i32) -> Self
The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
sourcepub fn set_frequency_in_seconds(self, input: Option<i32>) -> Self
pub fn set_frequency_in_seconds(self, input: Option<i32>) -> Self
The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
sourcepub fn message_groups(self, input: MessageGroup) -> Self
pub fn message_groups(self, input: MessageGroup) -> Self
Appends an item to message_groups.
To override the contents of this collection use set_message_groups.
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
sourcepub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
pub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
sourcepub fn allow_interrupt(self, input: bool) -> Self
pub fn allow_interrupt(self, input: bool) -> Self
Determines whether the user can interrupt an update message while it is playing.
sourcepub fn set_allow_interrupt(self, input: Option<bool>) -> Self
pub fn set_allow_interrupt(self, input: Option<bool>) -> Self
Determines whether the user can interrupt an update message while it is playing.
sourcepub fn build(self) -> FulfillmentUpdateResponseSpecification
pub fn build(self) -> FulfillmentUpdateResponseSpecification
Consumes the builder and constructs a FulfillmentUpdateResponseSpecification.
Trait Implementations§
source§impl Clone for FulfillmentUpdateResponseSpecificationBuilder
impl Clone for FulfillmentUpdateResponseSpecificationBuilder
source§fn clone(&self) -> FulfillmentUpdateResponseSpecificationBuilder
fn clone(&self) -> FulfillmentUpdateResponseSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FulfillmentUpdateResponseSpecificationBuilder
impl Default for FulfillmentUpdateResponseSpecificationBuilder
source§fn default() -> FulfillmentUpdateResponseSpecificationBuilder
fn default() -> FulfillmentUpdateResponseSpecificationBuilder
source§impl PartialEq<FulfillmentUpdateResponseSpecificationBuilder> for FulfillmentUpdateResponseSpecificationBuilder
impl PartialEq<FulfillmentUpdateResponseSpecificationBuilder> for FulfillmentUpdateResponseSpecificationBuilder
source§fn eq(&self, other: &FulfillmentUpdateResponseSpecificationBuilder) -> bool
fn eq(&self, other: &FulfillmentUpdateResponseSpecificationBuilder) -> bool
self and other values to be equal, and is used
by ==.