public static interface PostDialogCodeHookInvocationSpecification.Builder extends SdkPojo, CopyableBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>
| Modifier and Type | Method and Description |
|---|---|
PostDialogCodeHookInvocationSpecification.Builder |
failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the
State field of the Intent object set to Failed. |
default PostDialogCodeHookInvocationSpecification.Builder |
failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the
State field of the Intent object set to Failed. |
default PostDialogCodeHookInvocationSpecification.Builder |
failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the
State field of the Intent object set to Failed. |
PostDialogCodeHookInvocationSpecification.Builder |
failureNextStep(DialogState failureNextStep)
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the
State field of the Intent object set to Failed. |
default PostDialogCodeHookInvocationSpecification.Builder |
failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
|
default PostDialogCodeHookInvocationSpecification.Builder |
successConditional(Consumer<ConditionalSpecification.Builder> successConditional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
|
default PostDialogCodeHookInvocationSpecification.Builder |
successNextStep(Consumer<DialogState.Builder> successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
|
PostDialogCodeHookInvocationSpecification.Builder |
successNextStep(DialogState successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
|
default PostDialogCodeHookInvocationSpecification.Builder |
successResponse(Consumer<ResponseSpecification.Builder> successResponse)
Sets the value of the SuccessResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
successResponse(ResponseSpecification successResponse)
Sets the value of the SuccessResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the code hook times out.
|
default PostDialogCodeHookInvocationSpecification.Builder |
timeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)
A list of conditional branches to evaluate if the code hook times out.
|
default PostDialogCodeHookInvocationSpecification.Builder |
timeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)
Specifies the next step that the bot runs when the code hook times out.
|
PostDialogCodeHookInvocationSpecification.Builder |
timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the code hook times out.
|
default PostDialogCodeHookInvocationSpecification.Builder |
timeoutResponse(Consumer<ResponseSpecification.Builder> timeoutResponse)
Sets the value of the TimeoutResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
timeoutResponse(ResponseSpecification timeoutResponse)
Sets the value of the TimeoutResponse property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPostDialogCodeHookInvocationSpecification.Builder successResponse(ResponseSpecification successResponse)
successResponse - The new value for the SuccessResponse property for this object.default PostDialogCodeHookInvocationSpecification.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)PostDialogCodeHookInvocationSpecification.Builder successNextStep(DialogState successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
successNextStep - Specifics the next step the bot runs after the dialog code hook finishes successfully.default PostDialogCodeHookInvocationSpecification.Builder successNextStep(Consumer<DialogState.Builder> successNextStep)
Specifics the next step the bot runs after the dialog code hook finishes 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)PostDialogCodeHookInvocationSpecification.Builder successConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
successConditional - A list of conditional branches to evaluate after the dialog code hook finishes successfully.default PostDialogCodeHookInvocationSpecification.Builder successConditional(Consumer<ConditionalSpecification.Builder> successConditional)
A list of conditional branches to evaluate after the dialog 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)PostDialogCodeHookInvocationSpecification.Builder failureResponse(ResponseSpecification failureResponse)
failureResponse - The new value for the FailureResponse property for this object.default PostDialogCodeHookInvocationSpecification.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)PostDialogCodeHookInvocationSpecification.Builder failureNextStep(DialogState failureNextStep)
Specifies the next step the bot runs after the dialog 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 dialog code hook throws an exception or returns with
the State field of the Intent object set to Failed.default PostDialogCodeHookInvocationSpecification.Builder failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step the bot runs after the dialog 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)PostDialogCodeHookInvocationSpecification.Builder failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate after the dialog 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 dialog code hook throws an exception or returns
with the State field of the Intent object set to Failed.default PostDialogCodeHookInvocationSpecification.Builder failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate after the dialog 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)PostDialogCodeHookInvocationSpecification.Builder timeoutResponse(ResponseSpecification timeoutResponse)
timeoutResponse - The new value for the TimeoutResponse property for this object.default PostDialogCodeHookInvocationSpecification.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)PostDialogCodeHookInvocationSpecification.Builder timeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the code hook times out.
timeoutNextStep - Specifies the next step that the bot runs when the code hook times out.default PostDialogCodeHookInvocationSpecification.Builder timeoutNextStep(Consumer<DialogState.Builder> timeoutNextStep)
Specifies the next step that the bot runs when the 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)PostDialogCodeHookInvocationSpecification.Builder timeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the code hook times out.
timeoutConditional - A list of conditional branches to evaluate if the code hook times out.default PostDialogCodeHookInvocationSpecification.Builder timeoutConditional(Consumer<ConditionalSpecification.Builder> timeoutConditional)
A list of conditional branches to evaluate if the 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 © 2023. All rights reserved.