Class AutomationThrottleStep

    • Method Detail

      • getIf

        public java.util.Optional<java.lang.String> getIf()
        Specified by:
        getIf in interface IAutomationStep
      • getRef

        public java.util.Optional<java.lang.String> getRef()
        Specified by:
        getRef in interface IAutomationStep
      • getAction

        public java.lang.String getAction()
      • getMaxAllowed

        public int getMaxAllowed()
        Returns:
        Maximum number of allowed notifications in that timeframe
      • getPeriod

        public java.lang.String getPeriod()
        Returns:
        Defines the throttle period which corresponds to the max_allowed. Specified as an ISO 8601 duration, https://en.wikipedia.org/wiki/ISO_8601#Durations
      • getThrottleKey

        public java.util.Optional<java.lang.String> getThrottleKey()
        Returns:
        If using scope=dynamic, provide the reference (e.g., refs.data.throttle_key) to the how the throttle should be identified
      • getShouldAlert

        public java.lang.Boolean getShouldAlert()
        Returns:
        Value must be true
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object