public static interface InitialResponseSetting.Builder extends SdkPojo, CopyableBuilder<InitialResponseSetting.Builder,InitialResponseSetting>
| Modifier and Type | Method and Description |
|---|---|
default InitialResponseSetting.Builder |
codeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)
Sets the value of the CodeHook property for this object.
|
InitialResponseSetting.Builder |
codeHook(DialogCodeHookInvocationSetting codeHook)
Sets the value of the CodeHook property for this object.
|
InitialResponseSetting.Builder |
conditional(ConditionalSpecification conditional)
Sets the value of the Conditional property for this object.
|
default InitialResponseSetting.Builder |
conditional(Consumer<ConditionalSpecification.Builder> conditional)
Sets the value of the Conditional property for this object.
|
default InitialResponseSetting.Builder |
initialResponse(Consumer<ResponseSpecification.Builder> initialResponse)
Sets the value of the InitialResponse property for this object.
|
InitialResponseSetting.Builder |
initialResponse(ResponseSpecification initialResponse)
Sets the value of the InitialResponse property for this object.
|
default InitialResponseSetting.Builder |
nextStep(Consumer<DialogState.Builder> nextStep)
The next step in the conversation.
|
InitialResponseSetting.Builder |
nextStep(DialogState nextStep)
The next step in the conversation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInitialResponseSetting.Builder initialResponse(ResponseSpecification initialResponse)
initialResponse - The new value for the InitialResponse property for this object.default InitialResponseSetting.Builder initialResponse(Consumer<ResponseSpecification.Builder> initialResponse)
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 initialResponse(ResponseSpecification).
initialResponse - a consumer that will call methods on ResponseSpecification.BuilderinitialResponse(ResponseSpecification)InitialResponseSetting.Builder nextStep(DialogState nextStep)
The next step in the conversation.
nextStep - The next step in the conversation.default InitialResponseSetting.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)InitialResponseSetting.Builder conditional(ConditionalSpecification conditional)
conditional - The new value for the Conditional property for this object.default InitialResponseSetting.Builder conditional(Consumer<ConditionalSpecification.Builder> conditional)
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 conditional(ConditionalSpecification).
conditional - a consumer that will call methods on ConditionalSpecification.Builderconditional(ConditionalSpecification)InitialResponseSetting.Builder codeHook(DialogCodeHookInvocationSetting codeHook)
codeHook - The new value for the CodeHook property for this object.default InitialResponseSetting.Builder codeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)
DialogCodeHookInvocationSetting.Builder
avoiding the need to create one manually via DialogCodeHookInvocationSetting.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to codeHook(DialogCodeHookInvocationSetting).
codeHook - a consumer that will call methods on DialogCodeHookInvocationSetting.BuildercodeHook(DialogCodeHookInvocationSetting)Copyright © 2023. All rights reserved.