Interface DialogCodeHookInvocationSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>,SdkBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>,SdkPojo
- Enclosing class:
- DialogCodeHookInvocationSetting
public static interface DialogCodeHookInvocationSetting.Builder extends SdkPojo, CopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DialogCodeHookInvocationSetting.Builderactive(Boolean active)Determines whether a dialog code hook is used when the intent is activated.DialogCodeHookInvocationSetting.BuilderenableCodeHookInvocation(Boolean enableCodeHookInvocation)Indicates whether a Lambda function should be invoked for the dialog.DialogCodeHookInvocationSetting.BuilderinvocationLabel(String invocationLabel)A label that indicates the dialog step from which the dialog code hook is happening.default DialogCodeHookInvocationSetting.BuilderpostCodeHookSpecification(Consumer<PostDialogCodeHookInvocationSpecification.Builder> postCodeHookSpecification)Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.DialogCodeHookInvocationSetting.BuilderpostCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
enableCodeHookInvocation
DialogCodeHookInvocationSetting.Builder enableCodeHookInvocation(Boolean enableCodeHookInvocation)
Indicates whether a Lambda function should be invoked for the dialog.
- Parameters:
enableCodeHookInvocation- Indicates whether a Lambda function should be invoked for the dialog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
active
DialogCodeHookInvocationSetting.Builder active(Boolean active)
Determines whether a dialog code hook is used when the intent is activated.
- Parameters:
active- Determines whether a dialog code hook is used when the intent is activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationLabel
DialogCodeHookInvocationSetting.Builder invocationLabel(String invocationLabel)
A label that indicates the dialog step from which the dialog code hook is happening.
- Parameters:
invocationLabel- A label that indicates the dialog step from which the dialog code hook is happening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postCodeHookSpecification
DialogCodeHookInvocationSetting.Builder postCodeHookSpecification(PostDialogCodeHookInvocationSpecification postCodeHookSpecification)
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
- Parameters:
postCodeHookSpecification- Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postCodeHookSpecification
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.Builderavoiding the need to create one manually viaPostDialogCodeHookInvocationSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostCodeHookSpecification(PostDialogCodeHookInvocationSpecification).- Parameters:
postCodeHookSpecification- a consumer that will call methods onPostDialogCodeHookInvocationSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
postCodeHookSpecification(PostDialogCodeHookInvocationSpecification)
-
-