Struct aws_sdk_lexmodelsv2::types::builders::PostDialogCodeHookInvocationSpecificationBuilder
source · #[non_exhaustive]pub struct PostDialogCodeHookInvocationSpecificationBuilder { /* private fields */ }
Expand description
A builder for PostDialogCodeHookInvocationSpecification
.
Implementations§
source§impl PostDialogCodeHookInvocationSpecificationBuilder
impl PostDialogCodeHookInvocationSpecificationBuilder
sourcepub fn success_response(self, input: ResponseSpecification) -> Self
pub fn success_response(self, input: ResponseSpecification) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn set_success_response(self, input: Option<ResponseSpecification>) -> Self
pub fn set_success_response(self, input: Option<ResponseSpecification>) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn get_success_response(&self) -> &Option<ResponseSpecification>
pub fn get_success_response(&self) -> &Option<ResponseSpecification>
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn success_next_step(self, input: DialogState) -> Self
pub fn success_next_step(self, input: DialogState) -> Self
Specifics the next step the bot runs after the dialog code hook finishes successfully.
sourcepub fn set_success_next_step(self, input: Option<DialogState>) -> Self
pub fn set_success_next_step(self, input: Option<DialogState>) -> Self
Specifics the next step the bot runs after the dialog code hook finishes successfully.
sourcepub fn get_success_next_step(&self) -> &Option<DialogState>
pub fn get_success_next_step(&self) -> &Option<DialogState>
Specifics the next step the bot runs after the dialog code hook finishes successfully.
sourcepub fn success_conditional(self, input: ConditionalSpecification) -> Self
pub fn success_conditional(self, input: ConditionalSpecification) -> Self
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
sourcepub fn set_success_conditional(
self,
input: Option<ConditionalSpecification>
) -> Self
pub fn set_success_conditional( self, input: Option<ConditionalSpecification> ) -> Self
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
sourcepub fn get_success_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_success_conditional(&self) -> &Option<ConditionalSpecification>
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
sourcepub fn failure_response(self, input: ResponseSpecification) -> Self
pub fn failure_response(self, input: ResponseSpecification) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn set_failure_response(self, input: Option<ResponseSpecification>) -> Self
pub fn set_failure_response(self, input: Option<ResponseSpecification>) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn get_failure_response(&self) -> &Option<ResponseSpecification>
pub fn get_failure_response(&self) -> &Option<ResponseSpecification>
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn failure_next_step(self, input: DialogState) -> Self
pub fn failure_next_step(self, input: DialogState) -> Self
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn set_failure_next_step(self, input: Option<DialogState>) -> Self
pub fn set_failure_next_step(self, input: Option<DialogState>) -> Self
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn get_failure_next_step(&self) -> &Option<DialogState>
pub fn get_failure_next_step(&self) -> &Option<DialogState>
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn failure_conditional(self, input: ConditionalSpecification) -> Self
pub fn failure_conditional(self, input: ConditionalSpecification) -> Self
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn set_failure_conditional(
self,
input: Option<ConditionalSpecification>
) -> Self
pub fn set_failure_conditional( self, input: Option<ConditionalSpecification> ) -> Self
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn get_failure_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_failure_conditional(&self) -> &Option<ConditionalSpecification>
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State
field of the Intent
object set to Failed
.
sourcepub fn timeout_response(self, input: ResponseSpecification) -> Self
pub fn timeout_response(self, input: ResponseSpecification) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn set_timeout_response(self, input: Option<ResponseSpecification>) -> Self
pub fn set_timeout_response(self, input: Option<ResponseSpecification>) -> Self
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn get_timeout_response(&self) -> &Option<ResponseSpecification>
pub fn get_timeout_response(&self) -> &Option<ResponseSpecification>
Specifies a list of message groups that Amazon Lex uses to respond the user input.
sourcepub fn timeout_next_step(self, input: DialogState) -> Self
pub fn timeout_next_step(self, input: DialogState) -> Self
Specifies the next step that the bot runs when the code hook times out.
sourcepub fn set_timeout_next_step(self, input: Option<DialogState>) -> Self
pub fn set_timeout_next_step(self, input: Option<DialogState>) -> Self
Specifies the next step that the bot runs when the code hook times out.
sourcepub fn get_timeout_next_step(&self) -> &Option<DialogState>
pub fn get_timeout_next_step(&self) -> &Option<DialogState>
Specifies the next step that the bot runs when the code hook times out.
sourcepub fn timeout_conditional(self, input: ConditionalSpecification) -> Self
pub fn timeout_conditional(self, input: ConditionalSpecification) -> Self
A list of conditional branches to evaluate if the code hook times out.
sourcepub fn set_timeout_conditional(
self,
input: Option<ConditionalSpecification>
) -> Self
pub fn set_timeout_conditional( self, input: Option<ConditionalSpecification> ) -> Self
A list of conditional branches to evaluate if the code hook times out.
sourcepub fn get_timeout_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_timeout_conditional(&self) -> &Option<ConditionalSpecification>
A list of conditional branches to evaluate if the code hook times out.
sourcepub fn build(self) -> PostDialogCodeHookInvocationSpecification
pub fn build(self) -> PostDialogCodeHookInvocationSpecification
Consumes the builder and constructs a PostDialogCodeHookInvocationSpecification
.
Trait Implementations§
source§impl Clone for PostDialogCodeHookInvocationSpecificationBuilder
impl Clone for PostDialogCodeHookInvocationSpecificationBuilder
source§fn clone(&self) -> PostDialogCodeHookInvocationSpecificationBuilder
fn clone(&self) -> PostDialogCodeHookInvocationSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PostDialogCodeHookInvocationSpecificationBuilder
impl Default for PostDialogCodeHookInvocationSpecificationBuilder
source§fn default() -> PostDialogCodeHookInvocationSpecificationBuilder
fn default() -> PostDialogCodeHookInvocationSpecificationBuilder
source§impl PartialEq for PostDialogCodeHookInvocationSpecificationBuilder
impl PartialEq for PostDialogCodeHookInvocationSpecificationBuilder
source§fn eq(&self, other: &PostDialogCodeHookInvocationSpecificationBuilder) -> bool
fn eq(&self, other: &PostDialogCodeHookInvocationSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PostDialogCodeHookInvocationSpecificationBuilder
Auto Trait Implementations§
impl Freeze for PostDialogCodeHookInvocationSpecificationBuilder
impl RefUnwindSafe for PostDialogCodeHookInvocationSpecificationBuilder
impl Send for PostDialogCodeHookInvocationSpecificationBuilder
impl Sync for PostDialogCodeHookInvocationSpecificationBuilder
impl Unpin for PostDialogCodeHookInvocationSpecificationBuilder
impl UnwindSafe for PostDialogCodeHookInvocationSpecificationBuilder
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> 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