#[non_exhaustive]pub struct PostFulfillmentStatusSpecificationBuilder { /* private fields */ }Expand description
A builder for PostFulfillmentStatusSpecification.
Implementations§
source§impl PostFulfillmentStatusSpecificationBuilder
impl PostFulfillmentStatusSpecificationBuilder
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 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 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 success_next_step(self, input: DialogState) -> Self
pub fn success_next_step(self, input: DialogState) -> Self
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
sourcepub fn set_success_next_step(self, input: Option<DialogState>) -> Self
pub fn set_success_next_step(self, input: Option<DialogState>) -> Self
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes 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 fulfillment 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 fulfillment code hook finishes successfully.
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 fulfillment 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 fulfillment 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 fulfillment 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 fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed.
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 fulfillment 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 fulfillment 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 fulfillment 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 fulfillment code hook times out.
sourcepub fn build(self) -> PostFulfillmentStatusSpecification
pub fn build(self) -> PostFulfillmentStatusSpecification
Consumes the builder and constructs a PostFulfillmentStatusSpecification.
Trait Implementations§
source§impl Clone for PostFulfillmentStatusSpecificationBuilder
impl Clone for PostFulfillmentStatusSpecificationBuilder
source§fn clone(&self) -> PostFulfillmentStatusSpecificationBuilder
fn clone(&self) -> PostFulfillmentStatusSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PostFulfillmentStatusSpecificationBuilder
impl Default for PostFulfillmentStatusSpecificationBuilder
source§fn default() -> PostFulfillmentStatusSpecificationBuilder
fn default() -> PostFulfillmentStatusSpecificationBuilder
source§impl PartialEq<PostFulfillmentStatusSpecificationBuilder> for PostFulfillmentStatusSpecificationBuilder
impl PartialEq<PostFulfillmentStatusSpecificationBuilder> for PostFulfillmentStatusSpecificationBuilder
source§fn eq(&self, other: &PostFulfillmentStatusSpecificationBuilder) -> bool
fn eq(&self, other: &PostFulfillmentStatusSpecificationBuilder) -> bool
self and other values to be equal, and is used
by ==.