Class TumblingWindowTriggerResponse


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

      • annotations

        public java.util.List<java.lang.Object> annotations()
        Returns:
        List of tags that can be used for describing the trigger.
      • delay

        public java.util.Optional<java.lang.Object> delay()
        Returns:
        Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
      • dependsOn

        public java.util.List<java.lang.Object> dependsOn()
        Returns:
        Triggers that this trigger depends on. Only tumbling window triggers are supported.
      • description

        public java.util.Optional<java.lang.String> description()
        Returns:
        Trigger description.
      • endTime

        public java.util.Optional<java.lang.String> endTime()
        Returns:
        The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.
      • frequency

        public java.lang.String frequency()
        Returns:
        The frequency of the time windows.
      • interval

        public java.lang.Integer interval()
        Returns:
        The interval of the time windows. The minimum interval allowed is 15 Minutes.
      • maxConcurrency

        public java.lang.Integer maxConcurrency()
        Returns:
        The max number of parallel time windows (ready for execution) for which a new run is triggered.
      • pipeline

        public TriggerPipelineReferenceResponse pipeline()
        Returns:
        Pipeline for which runs are created when an event is fired for trigger window that is ready.
      • retryPolicy

        public java.util.Optional<RetryPolicyResponse> retryPolicy()
        Returns:
        Retry policy that will be applied for failed pipeline runs.
      • runtimeState

        public java.lang.String runtimeState()
        Returns:
        Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.
      • startTime

        public java.lang.String startTime()
        Returns:
        The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported.
      • type

        public java.lang.String type()
        Returns:
        Trigger type. Expected value is 'TumblingWindowTrigger'.