#[non_exhaustive]pub struct DefaultConditionalBranchBuilder { /* private fields */ }
Expand description
A builder for DefaultConditionalBranch
.
Implementations§
source§impl DefaultConditionalBranchBuilder
impl DefaultConditionalBranchBuilder
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 get_next_step(&self) -> &Option<DialogState>
pub fn get_next_step(&self) -> &Option<DialogState>
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 get_response(&self) -> &Option<ResponseSpecification>
pub fn get_response(&self) -> &Option<ResponseSpecification>
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
.
Trait Implementations§
source§impl Clone for DefaultConditionalBranchBuilder
impl Clone for DefaultConditionalBranchBuilder
source§fn clone(&self) -> DefaultConditionalBranchBuilder
fn clone(&self) -> DefaultConditionalBranchBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DefaultConditionalBranchBuilder
impl Default for DefaultConditionalBranchBuilder
source§fn default() -> DefaultConditionalBranchBuilder
fn default() -> DefaultConditionalBranchBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DefaultConditionalBranchBuilder
impl PartialEq for DefaultConditionalBranchBuilder
source§fn eq(&self, other: &DefaultConditionalBranchBuilder) -> bool
fn eq(&self, other: &DefaultConditionalBranchBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefaultConditionalBranchBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DefaultConditionalBranchBuilder
impl Send for DefaultConditionalBranchBuilder
impl Sync for DefaultConditionalBranchBuilder
impl Unpin for DefaultConditionalBranchBuilder
impl UnwindSafe for DefaultConditionalBranchBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.