Struct aws_sdk_lexmodelsv2::model::response_specification::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ResponseSpecification.
Implementations§
source§impl Builder
impl Builder
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.
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
sourcepub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
pub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
sourcepub fn allow_interrupt(self, input: bool) -> Self
pub fn allow_interrupt(self, input: bool) -> Self
Indicates whether the user can interrupt a speech response from Amazon Lex.
sourcepub fn set_allow_interrupt(self, input: Option<bool>) -> Self
pub fn set_allow_interrupt(self, input: Option<bool>) -> Self
Indicates whether the user can interrupt a speech response from Amazon Lex.
sourcepub fn build(self) -> ResponseSpecification
pub fn build(self) -> ResponseSpecification
Consumes the builder and constructs a ResponseSpecification.