Interface PostFulfillmentStatusSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PostFulfillmentStatusSpecification.Builder,
,PostFulfillmentStatusSpecification> SdkBuilder<PostFulfillmentStatusSpecification.Builder,
,PostFulfillmentStatusSpecification> SdkPojo
- Enclosing class:
PostFulfillmentStatusSpecification
-
Method Summary
Modifier and TypeMethodDescriptionfailureConditional
(Consumer<ConditionalSpecification.Builder> failureConditional) A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failureConditional
(ConditionalSpecification failureConditional) A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failureNextStep
(Consumer<DialogState.Builder> failureNextStep) Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failureNextStep
(DialogState failureNextStep) Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failureResponse
(Consumer<ResponseSpecification.Builder> failureResponse) Sets the value of the FailureResponse property for this object.failureResponse
(ResponseSpecification failureResponse) Sets the value of the FailureResponse property for this object.successConditional
(Consumer<ConditionalSpecification.Builder> successConditional) A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.successConditional
(ConditionalSpecification successConditional) A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.successNextStep
(Consumer<DialogState.Builder> successNextStep) Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.successNextStep
(DialogState successNextStep) Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.successResponse
(Consumer<ResponseSpecification.Builder> successResponse) Sets the value of the SuccessResponse property for this object.successResponse
(ResponseSpecification successResponse) Sets the value of the SuccessResponse property for this object.timeoutConditional
(Consumer<ConditionalSpecification.Builder> timeoutConditional) A list of conditional branches to evaluate if the fulfillment code hook times out.timeoutConditional
(ConditionalSpecification timeoutConditional) A list of conditional branches to evaluate if the fulfillment code hook times out.timeoutNextStep
(Consumer<DialogState.Builder> timeoutNextStep) Specifies the next step that the bot runs when the fulfillment code hook times out.timeoutNextStep
(DialogState timeoutNextStep) Specifies the next step that the bot runs when the fulfillment code hook times out.timeoutResponse
(Consumer<ResponseSpecification.Builder> timeoutResponse) Sets the value of the TimeoutResponse property for this object.timeoutResponse
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaResponseSpecification.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaResponseSpecification.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaResponseSpecification.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaDialogState.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaConditionalSpecification.builder()
.When the
Consumer
completes,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:
-
failureNextStep
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.- Parameters:
failureNextStep
- Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object 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 theState
field of theIntent
object set toFailed
.DialogState.Builder
avoiding the need to create one manually viaDialogState.builder()
.When the
Consumer
completes,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:
-
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
State
field of theIntent
object set toFailed
.- Parameters:
failureConditional
- A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object 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 theState
field of theIntent
object set toFailed
.ConditionalSpecification.Builder
avoiding the need to create one manually viaConditionalSpecification.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaDialogState.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaConditionalSpecification.builder()
.When the
Consumer
completes,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:
-