Struct aws_sdk_lexmodelsv2::model::conditional_branch::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ConditionalBranch.
Implementations§
source§impl Builder
impl Builder
sourcepub fn condition(self, input: Condition) -> Self
pub fn condition(self, input: Condition) -> Self
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
sourcepub fn set_condition(self, input: Option<Condition>) -> Self
pub fn set_condition(self, input: Option<Condition>) -> Self
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
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) -> ConditionalBranch
pub fn build(self) -> ConditionalBranch
Consumes the builder and constructs a ConditionalBranch.