public static interface DialogCodeHookInvocationSetting.Builder extends SdkPojo, CopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>
| Modifier and Type | Method and Description |
|---|---|
DialogCodeHookInvocationSetting.Builder |
active(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
|
DialogCodeHookInvocationSetting.Builder |
enableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
|
DialogCodeHookInvocationSetting.Builder |
invocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
|
default DialogCodeHookInvocationSetting.Builder |
postCodeHookSpecification(Consumer<PostDialogCodeHookInvocationSpecification.Builder> postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
|
DialogCodeHookInvocationSetting.Builder |
postCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDialogCodeHookInvocationSetting.Builder enableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
enableCodeHookInvocation - Indicates whether a Lambda function should be invoked for the dialog.DialogCodeHookInvocationSetting.Builder active(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
active - Determines whether a dialog code hook is used when the intent is activated.DialogCodeHookInvocationSetting.Builder invocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
invocationLabel - A label that indicates the dialog step from which the dialog code hook is happening.DialogCodeHookInvocationSetting.Builder postCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
postCodeHookSpecification - Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.default DialogCodeHookInvocationSetting.Builder postCodeHookSpecification(Consumer<PostDialogCodeHookInvocationSpecification.Builder> postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
This is a convenience method that creates an instance of thePostDialogCodeHookInvocationSpecification.Builder avoiding the need to create one manually via
PostDialogCodeHookInvocationSpecification.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
postCodeHookSpecification(PostDialogCodeHookInvocationSpecification).
postCodeHookSpecification - a consumer that will call methods on PostDialogCodeHookInvocationSpecification.BuilderpostCodeHookSpecification(PostDialogCodeHookInvocationSpecification)Copyright © 2023. All rights reserved.