Class DialogCodeHookInvocationSetting

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)