public static interface DefaultConditionalBranch.Builder extends SdkPojo, CopyableBuilder<DefaultConditionalBranch.Builder,DefaultConditionalBranch>
| Modifier and Type | Method and Description |
|---|---|
default DefaultConditionalBranch.Builder |
nextStep(Consumer<DialogState.Builder> nextStep)
The next step in the conversation.
|
DefaultConditionalBranch.Builder |
nextStep(DialogState nextStep)
The next step in the conversation.
|
default DefaultConditionalBranch.Builder |
response(Consumer<ResponseSpecification.Builder> response)
Sets the value of the Response property for this object.
|
DefaultConditionalBranch.Builder |
response(ResponseSpecification response)
Sets the value of the Response property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDefaultConditionalBranch.Builder nextStep(DialogState nextStep)
The next step in the conversation.
nextStep - The next step in the conversation.default DefaultConditionalBranch.Builder nextStep(Consumer<DialogState.Builder> nextStep)
The next step in the conversation.
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 nextStep(DialogState).
nextStep - a consumer that will call methods on DialogState.BuildernextStep(DialogState)DefaultConditionalBranch.Builder response(ResponseSpecification response)
response - The new value for the Response property for this object.default DefaultConditionalBranch.Builder response(Consumer<ResponseSpecification.Builder> response)
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 response(ResponseSpecification).
response - a consumer that will call methods on ResponseSpecification.Builderresponse(ResponseSpecification)Copyright © 2022. All rights reserved.