Class V2modelsIntentFulfillmentCodeHook


  • public final class V2modelsIntentFulfillmentCodeHook
    extends java.lang.Object
    • Method Detail

      • active

        public java.util.Optional<java.lang.Boolean> active()
        Returns:
        Whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
      • enabled

        public java.lang.Boolean enabled()
        Returns:
        Whether a Lambda function should be invoked to fulfill a specific intent.
      • fulfillmentUpdatesSpecification

        public java.util.Optional<V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification> fulfillmentUpdatesSpecification()
        Returns:
        Configuration block for settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. See `fulfillment_updates_specification`.
      • postFulfillmentStatusSpecification

        public java.util.Optional<V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification> postFulfillmentStatusSpecification()
        Returns:
        Configuration block for settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations. See `post_fulfillment_status_specification`.