Struct aws_sdk_lexmodelsv2::model::intent_closing_setting::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for IntentClosingSetting.
Implementations§
source§impl Builder
impl Builder
sourcepub fn closing_response(self, input: ResponseSpecification) -> Self
pub fn closing_response(self, input: ResponseSpecification) -> Self
The response that Amazon Lex sends to the user when the intent is complete.
sourcepub fn set_closing_response(self, input: Option<ResponseSpecification>) -> Self
pub fn set_closing_response(self, input: Option<ResponseSpecification>) -> Self
The response that Amazon Lex sends to the user when the intent is complete.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
sourcepub fn next_step(self, input: DialogState) -> Self
pub fn next_step(self, input: DialogState) -> Self
Specifies the next step that the bot executes after playing the intent's closing response.
sourcepub fn set_next_step(self, input: Option<DialogState>) -> Self
pub fn set_next_step(self, input: Option<DialogState>) -> Self
Specifies the next step that the bot executes after playing the intent's closing response.
sourcepub fn conditional(self, input: ConditionalSpecification) -> Self
pub fn conditional(self, input: ConditionalSpecification) -> Self
A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.
sourcepub fn set_conditional(self, input: Option<ConditionalSpecification>) -> Self
pub fn set_conditional(self, input: Option<ConditionalSpecification>) -> Self
A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.
sourcepub fn build(self) -> IntentClosingSetting
pub fn build(self) -> IntentClosingSetting
Consumes the builder and constructs a IntentClosingSetting.