Interface PostFulfillmentStatusSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>,SdkBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>,SdkPojo
- Enclosing class:
- PostFulfillmentStatusSpecification
public static interface PostFulfillmentStatusSpecification.Builder extends SdkPojo, CopyableBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PostFulfillmentStatusSpecification.BuilderfailureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.PostFulfillmentStatusSpecification.BuilderfailureConditional(ConditionalSpecification failureConditional)A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.default PostFulfillmentStatusSpecification.BuilderfailureNextStep(Consumer<DialogState.Builder> failureNextStep)Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.PostFulfillmentStatusSpecification.BuilderfailureNextStep(DialogState failureNextStep)Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theStatefield of theIntentobject set toFailed.default PostFulfillmentStatusSpecification.BuilderfailureResponse(Consumer<ResponseSpecification.Builder> failureResponse)Sets the value of the FailureResponse property for this object.PostFulfillmentStatusSpecification.BuilderfailureResponse(ResponseSpecification failureResponse)Sets the value of the FailureResponse property for this object.default PostFulfillmentStatusSpecification.BuildersuccessConditional(Consumer<ConditionalSpecification.Builder> successConditional)A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.PostFulfillmentStatusSpecification.BuildersuccessConditional(ConditionalSpecification successConditional)A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.default PostFulfillmentStatusSpecification.BuildersuccessNextStep(Consumer<DialogState.Builder> successNextStep)Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.PostFulfillmentStatusSpecification.BuildersuccessNextStep(DialogState successNextStep)Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.default PostFulfillmentStatusSpecification.BuildersuccessResponse(Consumer<ResponseSpecification.Builder> successResponse)Sets the value of the SuccessResponse property for this object.PostFulfillmentStatusSpecification.BuildersuccessResponse(ResponseSpecification successResponse)Sets the value of the SuccessResponse property for this object.default PostFulfillmentStatusSpecification.BuildertimeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)A list of conditional branches to evaluate if the fulfillment code hook times out.PostFulfillmentStatusSpecification.BuildertimeoutConditional(ConditionalSpecification timeoutConditional)A list of conditional branches to evaluate if the fulfillment code hook times out.default PostFulfillmentStatusSpecification.BuildertimeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)Specifies the next step that the bot runs when the fulfillment code hook times out.PostFulfillmentStatusSpecification.BuildertimeoutNextStep(DialogState timeoutNextStep)Specifies the next step that the bot runs when the fulfillment code hook times out.default PostFulfillmentStatusSpecification.BuildertimeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)Sets the value of the TimeoutResponse property for this object.PostFulfillmentStatusSpecification.BuildertimeoutResponse(ResponseSpecification timeoutResponse)Sets the value of the TimeoutResponse property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
successResponse
PostFulfillmentStatusSpecification.Builder successResponse(ResponseSpecification successResponse)
Sets the value of the SuccessResponse property for this object.- Parameters:
successResponse- The new value for the SuccessResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successResponse
default PostFulfillmentStatusSpecification.Builder successResponse(Consumer<ResponseSpecification.Builder> successResponse)
Sets the value of the SuccessResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessResponse(ResponseSpecification).- Parameters:
successResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
successResponse(ResponseSpecification)
-
failureResponse
PostFulfillmentStatusSpecification.Builder failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.- Parameters:
failureResponse- The new value for the FailureResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureResponse
default PostFulfillmentStatusSpecification.Builder failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureResponse(ResponseSpecification).- Parameters:
failureResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureResponse(ResponseSpecification)
-
timeoutResponse
PostFulfillmentStatusSpecification.Builder timeoutResponse(ResponseSpecification timeoutResponse)
Sets the value of the TimeoutResponse property for this object.- Parameters:
timeoutResponse- The new value for the TimeoutResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutResponse
default PostFulfillmentStatusSpecification.Builder timeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)
Sets the value of the TimeoutResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutResponse(ResponseSpecification).- Parameters:
timeoutResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeoutResponse(ResponseSpecification)
-
successNextStep
PostFulfillmentStatusSpecification.Builder successNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
- Parameters:
successNextStep- Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successNextStep
default PostFulfillmentStatusSpecification.Builder successNextStep(Consumer<DialogState.Builder> successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
This is a convenience method that creates an instance of theDialogState.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessNextStep(DialogState).- Parameters:
successNextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
successNextStep(DialogState)
-
successConditional
PostFulfillmentStatusSpecification.Builder successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
- Parameters:
successConditional- A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successConditional
default PostFulfillmentStatusSpecification.Builder successConditional(Consumer<ConditionalSpecification.Builder> successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
This is a convenience method that creates an instance of theConditionalSpecification.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessConditional(ConditionalSpecification).- Parameters:
successConditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
successConditional(ConditionalSpecification)
-
failureNextStep
PostFulfillmentStatusSpecification.Builder failureNextStep(DialogState failureNextStep)
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the
Statefield of theIntentobject set toFailed.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
failureNextStep
default PostFulfillmentStatusSpecification.Builder failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the
This is a convenience method that creates an instance of theStatefield of theIntentobject set toFailed.DialogState.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureNextStep(DialogState).- Parameters:
failureNextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureNextStep(DialogState)
-
failureConditional
PostFulfillmentStatusSpecification.Builder failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the
Statefield of theIntentobject set toFailed.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
failureConditional
default PostFulfillmentStatusSpecification.Builder failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the
This is a convenience method that creates an instance of theStatefield of theIntentobject set toFailed.ConditionalSpecification.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureConditional(ConditionalSpecification).- Parameters:
failureConditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureConditional(ConditionalSpecification)
-
timeoutNextStep
PostFulfillmentStatusSpecification.Builder timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
- Parameters:
timeoutNextStep- Specifies the next step that the bot runs when the fulfillment code hook times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutNextStep
default PostFulfillmentStatusSpecification.Builder timeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
This is a convenience method that creates an instance of theDialogState.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutNextStep(DialogState).- Parameters:
timeoutNextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeoutNextStep(DialogState)
-
timeoutConditional
PostFulfillmentStatusSpecification.Builder timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
- Parameters:
timeoutConditional- A list of conditional branches to evaluate if the fulfillment code hook times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConditional
default PostFulfillmentStatusSpecification.Builder timeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
This is a convenience method that creates an instance of theConditionalSpecification.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutConditional(ConditionalSpecification).- Parameters:
timeoutConditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeoutConditional(ConditionalSpecification)
-
-