Class CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureConditional(CfnBotPropsMixin.ConditionalSpecificationProperty failureConditional) failureConditional(IResolvable failureConditional) failureNextStep(CfnBotPropsMixin.DialogStateProperty failureNextStep) failureNextStep(IResolvable failureNextStep) failureResponse(CfnBotPropsMixin.ResponseSpecificationProperty failureResponse) failureResponse(IResolvable failureResponse) successConditional(CfnBotPropsMixin.ConditionalSpecificationProperty successConditional) successConditional(IResolvable successConditional) successNextStep(CfnBotPropsMixin.DialogStateProperty successNextStep) successNextStep(IResolvable successNextStep) successResponse(CfnBotPropsMixin.ResponseSpecificationProperty successResponse) successResponse(IResolvable successResponse) timeoutConditional(CfnBotPropsMixin.ConditionalSpecificationProperty timeoutConditional) timeoutConditional(IResolvable timeoutConditional) timeoutNextStep(CfnBotPropsMixin.DialogStateProperty timeoutNextStep) timeoutNextStep(IResolvable timeoutNextStep) timeoutResponse(CfnBotPropsMixin.ResponseSpecificationProperty timeoutResponse) timeoutResponse(IResolvable timeoutResponse)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureConditional(IResolvable failureConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getFailureConditional()- Parameters:
failureConditional- A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
this
-
failureConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureConditional(CfnBotPropsMixin.ConditionalSpecificationProperty failureConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getFailureConditional()- Parameters:
failureConditional- A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
this
-
failureNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureNextStep(IResolvable failureNextStep) - Parameters:
failureNextStep- Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
this
-
failureNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureNextStep(CfnBotPropsMixin.DialogStateProperty failureNextStep) - Parameters:
failureNextStep- Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.- Returns:
this
-
failureResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureResponse(IResolvable failureResponse) - Parameters:
failureResponse- Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful.- Returns:
this
-
failureResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder failureResponse(CfnBotPropsMixin.ResponseSpecificationProperty failureResponse) - Parameters:
failureResponse- Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful.- Returns:
this
-
successConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successConditional(IResolvable successConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getSuccessConditional()- Parameters:
successConditional- A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.- Returns:
this
-
successConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successConditional(CfnBotPropsMixin.ConditionalSpecificationProperty successConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getSuccessConditional()- Parameters:
successConditional- A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.- Returns:
this
-
successNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successNextStep(IResolvable successNextStep) - Parameters:
successNextStep- Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.- Returns:
this
-
successNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successNextStep(CfnBotPropsMixin.DialogStateProperty successNextStep) - Parameters:
successNextStep- Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.- Returns:
this
-
successResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successResponse(IResolvable successResponse) - Parameters:
successResponse- Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.- Returns:
this
-
successResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder successResponse(CfnBotPropsMixin.ResponseSpecificationProperty successResponse) - Parameters:
successResponse- Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.- Returns:
this
-
timeoutConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutConditional(IResolvable timeoutConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getTimeoutConditional()- Parameters:
timeoutConditional- A list of conditional branches to evaluate if the fulfillment code hook times out.- Returns:
this
-
timeoutConditional
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutConditional(CfnBotPropsMixin.ConditionalSpecificationProperty timeoutConditional) Sets the value ofCfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.getTimeoutConditional()- Parameters:
timeoutConditional- A list of conditional branches to evaluate if the fulfillment code hook times out.- Returns:
this
-
timeoutNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutNextStep(IResolvable timeoutNextStep) - Parameters:
timeoutNextStep- Specifies the next step that the bot runs when the fulfillment code hook times out.- Returns:
this
-
timeoutNextStep
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutNextStep(CfnBotPropsMixin.DialogStateProperty timeoutNextStep) - Parameters:
timeoutNextStep- Specifies the next step that the bot runs when the fulfillment code hook times out.- Returns:
this
-
timeoutResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutResponse(IResolvable timeoutResponse) - Parameters:
timeoutResponse- Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period.- Returns:
this
-
timeoutResponse
@Stability(Stable) public CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty.Builder timeoutResponse(CfnBotPropsMixin.ResponseSpecificationProperty timeoutResponse) - Parameters:
timeoutResponse- Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.PostFulfillmentStatusSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-