Class IncidentInner


  • public final class IncidentInner
    extends Object
    An alert incident indicates the activation status of an alert rule.
    • Constructor Detail

      • IncidentInner

        public IncidentInner()
    • Method Detail

      • name

        public String name()
        Get the name property: Incident name.
        Returns:
        the name value.
      • ruleName

        public String ruleName()
        Get the ruleName property: Rule name that is associated with the incident.
        Returns:
        the ruleName value.
      • isActive

        public Boolean isActive()
        Get the isActive property: A boolean to indicate whether the incident is active or resolved.
        Returns:
        the isActive value.
      • activatedTime

        public OffsetDateTime activatedTime()
        Get the activatedTime property: The time at which the incident was activated in ISO8601 format.
        Returns:
        the activatedTime value.
      • resolvedTime

        public OffsetDateTime resolvedTime()
        Get the resolvedTime property: The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.
        Returns:
        the resolvedTime value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.