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 ==
.