pub struct Builder { /* private fields */ }Expand description
A builder for DefaultConditionalBranch.
Implementations§
source§impl Builder
impl Builder
sourcepub fn next_step(self, input: DialogState) -> Self
pub fn next_step(self, input: DialogState) -> Self
The next step in the conversation.
sourcepub fn set_next_step(self, input: Option<DialogState>) -> Self
pub fn set_next_step(self, input: Option<DialogState>) -> Self
The next step in the conversation.
sourcepub fn response(self, input: ResponseSpecification) -> Self
pub fn response(self, input: ResponseSpecification) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn set_response(self, input: Option<ResponseSpecification>) -> Self
pub fn set_response(self, input: Option<ResponseSpecification>) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn build(self) -> DefaultConditionalBranch
pub fn build(self) -> DefaultConditionalBranch
Consumes the builder and constructs a DefaultConditionalBranch.