#[non_exhaustive]pub struct IntentClosingSettingBuilder { /* private fields */ }Expand description
A builder for IntentClosingSetting.
Implementations§
source§impl IntentClosingSettingBuilder
impl IntentClosingSettingBuilder
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 get_closing_response(&self) -> &Option<ResponseSpecification>
pub fn get_closing_response(&self) -> &Option<ResponseSpecification>
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 get_active(&self) -> &Option<bool>
pub fn get_active(&self) -> &Option<bool>
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 get_next_step(&self) -> &Option<DialogState>
pub fn get_next_step(&self) -> &Option<DialogState>
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 get_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_conditional(&self) -> &Option<ConditionalSpecification>
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.
Trait Implementations§
source§impl Clone for IntentClosingSettingBuilder
impl Clone for IntentClosingSettingBuilder
source§fn clone(&self) -> IntentClosingSettingBuilder
fn clone(&self) -> IntentClosingSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IntentClosingSettingBuilder
impl Debug for IntentClosingSettingBuilder
source§impl Default for IntentClosingSettingBuilder
impl Default for IntentClosingSettingBuilder
source§fn default() -> IntentClosingSettingBuilder
fn default() -> IntentClosingSettingBuilder
source§impl PartialEq for IntentClosingSettingBuilder
impl PartialEq for IntentClosingSettingBuilder
source§fn eq(&self, other: &IntentClosingSettingBuilder) -> bool
fn eq(&self, other: &IntentClosingSettingBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IntentClosingSettingBuilder
Auto Trait Implementations§
impl Freeze for IntentClosingSettingBuilder
impl RefUnwindSafe for IntentClosingSettingBuilder
impl Send for IntentClosingSettingBuilder
impl Sync for IntentClosingSettingBuilder
impl Unpin for IntentClosingSettingBuilder
impl UnwindSafe for IntentClosingSettingBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more