#[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 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 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 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 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 get_success_next_step(&self) -> &Option<DialogState>
pub fn get_success_next_step(&self) -> &Option<DialogState>
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 get_success_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_success_conditional(&self) -> &Option<ConditionalSpecification>
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 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 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 get_failure_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_failure_conditional(&self) -> &Option<ConditionalSpecification>
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 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 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 get_timeout_conditional(&self) -> &Option<ConditionalSpecification>
pub fn get_timeout_conditional(&self) -> &Option<ConditionalSpecification>
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 for PostFulfillmentStatusSpecificationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for PostFulfillmentStatusSpecificationBuilder
Auto Trait Implementations§
impl Freeze for PostFulfillmentStatusSpecificationBuilder
impl RefUnwindSafe for PostFulfillmentStatusSpecificationBuilder
impl Send for PostFulfillmentStatusSpecificationBuilder
impl Sync for PostFulfillmentStatusSpecificationBuilder
impl Unpin for PostFulfillmentStatusSpecificationBuilder
impl UnwindSafe for PostFulfillmentStatusSpecificationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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