Class DialogCodeHookInvocationSetting
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.DialogCodeHookInvocationSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>
@Generated("software.amazon.awssdk:codegen") public final class DialogCodeHookInvocationSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDialogCodeHookInvocationSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Determines whether a dialog code hook is used when the intent is activated.static DialogCodeHookInvocationSetting.Builderbuilder()BooleanenableCodeHookInvocation()Indicates whether a Lambda function should be invoked for the dialog.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvocationLabel()A label that indicates the dialog step from which the dialog code hook is happening.PostDialogCodeHookInvocationSpecificationpostCodeHookSpecification()Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DialogCodeHookInvocationSetting.Builder>serializableBuilderClass()DialogCodeHookInvocationSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enableCodeHookInvocation
public final Boolean enableCodeHookInvocation()
Indicates whether a Lambda function should be invoked for the dialog.
- Returns:
- Indicates whether a Lambda function should be invoked for the dialog.
-
active
public final Boolean active()
Determines whether a dialog code hook is used when the intent is activated.
- Returns:
- Determines whether a dialog code hook is used when the intent is activated.
-
invocationLabel
public final String invocationLabel()
A label that indicates the dialog step from which the dialog code hook is happening.
- Returns:
- A label that indicates the dialog step from which the dialog code hook is happening.
-
postCodeHookSpecification
public final PostDialogCodeHookInvocationSpecification postCodeHookSpecification()
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
- Returns:
- Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
-
toBuilder
public DialogCodeHookInvocationSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DialogCodeHookInvocationSetting.Builder,DialogCodeHookInvocationSetting>
-
builder
public static DialogCodeHookInvocationSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends DialogCodeHookInvocationSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-