Struct aws_sdk_lexmodelsv2::model::dialog_action::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DialogAction.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn type(self, input: DialogActionType) -> Self
pub fn type(self, input: DialogActionType) -> Self
The action that the bot should execute.
sourcepub fn set_type(self, input: Option<DialogActionType>) -> Self
pub fn set_type(self, input: Option<DialogActionType>) -> Self
The action that the bot should execute.
sourcepub fn slot_to_elicit(self, input: impl Into<String>) -> Self
pub fn slot_to_elicit(self, input: impl Into<String>) -> Self
If the dialog action is ElicitSlot, defines the slot to elicit from the user.
sourcepub fn set_slot_to_elicit(self, input: Option<String>) -> Self
pub fn set_slot_to_elicit(self, input: Option<String>) -> Self
If the dialog action is ElicitSlot, defines the slot to elicit from the user.
sourcepub fn suppress_next_message(self, input: bool) -> Self
pub fn suppress_next_message(self, input: bool) -> Self
When true the next message for the intent is not used.
sourcepub fn set_suppress_next_message(self, input: Option<bool>) -> Self
pub fn set_suppress_next_message(self, input: Option<bool>) -> Self
When true the next message for the intent is not used.
sourcepub fn build(self) -> DialogAction
pub fn build(self) -> DialogAction
Consumes the builder and constructs a DialogAction.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more