public static interface PostFulfillmentStatusSpecification.Builder extends SdkPojo, CopyableBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>
| Modifier and Type | Method and Description |
|---|---|
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 the Intent object set to Failed. |
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
State field of the Intent object set to Failed. |
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
State field of the Intent object set to Failed. |
PostFulfillmentStatusSpecification.Builder |
failureNextStep(DialogState failureNextStep)
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. |
default PostFulfillmentStatusSpecification.Builder |
failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
default PostFulfillmentStatusSpecification.Builder |
successConditional(Consumer<ConditionalSpecification.Builder> successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
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.
|
PostFulfillmentStatusSpecification.Builder |
successNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes
successfully.
|
default PostFulfillmentStatusSpecification.Builder |
successResponse(Consumer<ResponseSpecification.Builder> successResponse)
Sets the value of the SuccessResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
successResponse(ResponseSpecification successResponse)
Sets the value of the SuccessResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
default PostFulfillmentStatusSpecification.Builder |
timeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
default PostFulfillmentStatusSpecification.Builder |
timeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
PostFulfillmentStatusSpecification.Builder |
timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
default PostFulfillmentStatusSpecification.Builder |
timeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)
Sets the value of the TimeoutResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
timeoutResponse(ResponseSpecification timeoutResponse)
Sets the value of the TimeoutResponse property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPostFulfillmentStatusSpecification.Builder successResponse(ResponseSpecification successResponse)
successResponse - The new value for the SuccessResponse property for this object.default PostFulfillmentStatusSpecification.Builder successResponse(Consumer<ResponseSpecification.Builder> successResponse)
ResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to successResponse(ResponseSpecification).
successResponse - a consumer that will call methods on ResponseSpecification.BuildersuccessResponse(ResponseSpecification)PostFulfillmentStatusSpecification.Builder failureResponse(ResponseSpecification failureResponse)
failureResponse - The new value for the FailureResponse property for this object.default PostFulfillmentStatusSpecification.Builder failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
ResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to failureResponse(ResponseSpecification).
failureResponse - a consumer that will call methods on ResponseSpecification.BuilderfailureResponse(ResponseSpecification)PostFulfillmentStatusSpecification.Builder timeoutResponse(ResponseSpecification timeoutResponse)
timeoutResponse - The new value for the TimeoutResponse property for this object.default PostFulfillmentStatusSpecification.Builder timeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)
ResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to timeoutResponse(ResponseSpecification).
timeoutResponse - a consumer that will call methods on ResponseSpecification.BuildertimeoutResponse(ResponseSpecification)PostFulfillmentStatusSpecification.Builder successNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
successNextStep - Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook
completes successfully.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 via DialogState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to successNextStep(DialogState).
successNextStep - a consumer that will call methods on DialogState.BuildersuccessNextStep(DialogState)PostFulfillmentStatusSpecification.Builder successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
successConditional - A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.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 via ConditionalSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to successConditional(ConditionalSpecification).
successConditional - a consumer that will call methods on ConditionalSpecification.BuildersuccessConditional(ConditionalSpecification)PostFulfillmentStatusSpecification.Builder failureNextStep(DialogState failureNextStep)
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.
failureNextStep - 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.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
State field of the Intent object set to Failed.
DialogState.Builder avoiding the need to
create one manually via DialogState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to failureNextStep(DialogState).
failureNextStep - a consumer that will call methods on DialogState.BuilderfailureNextStep(DialogState)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 the Intent object set to Failed.
failureConditional - 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
.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 State field of the Intent object set to Failed.
ConditionalSpecification.Builder
avoiding the need to create one manually via ConditionalSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to failureConditional(ConditionalSpecification).
failureConditional - a consumer that will call methods on ConditionalSpecification.BuilderfailureConditional(ConditionalSpecification)PostFulfillmentStatusSpecification.Builder timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
timeoutNextStep - Specifies the next step that the bot runs when the fulfillment code hook times out.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 via DialogState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timeoutNextStep(DialogState).
timeoutNextStep - a consumer that will call methods on DialogState.BuildertimeoutNextStep(DialogState)PostFulfillmentStatusSpecification.Builder timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
timeoutConditional - A list of conditional branches to evaluate if the fulfillment code hook times out.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 via ConditionalSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to timeoutConditional(ConditionalSpecification).
timeoutConditional - a consumer that will call methods on ConditionalSpecification.BuildertimeoutConditional(ConditionalSpecification)Copyright © 2022. All rights reserved.