Class IncidentConfiguration


  • public final class IncidentConfiguration
    extends Object
    Incident Configuration property bag.
    • Constructor Detail

      • IncidentConfiguration

        public IncidentConfiguration()
    • Method Detail

      • createIncident

        public boolean createIncident()
        Get the createIncident property: Create incidents from alerts triggered by this analytics rule.
        Returns:
        the createIncident value.
      • withCreateIncident

        public IncidentConfiguration withCreateIncident​(boolean createIncident)
        Set the createIncident property: Create incidents from alerts triggered by this analytics rule.
        Parameters:
        createIncident - the createIncident value to set.
        Returns:
        the IncidentConfiguration object itself.
      • groupingConfiguration

        public GroupingConfiguration groupingConfiguration()
        Get the groupingConfiguration property: Set how the alerts that are triggered by this analytics rule, are grouped into incidents.
        Returns:
        the groupingConfiguration value.
      • withGroupingConfiguration

        public IncidentConfiguration withGroupingConfiguration​(GroupingConfiguration groupingConfiguration)
        Set the groupingConfiguration property: Set how the alerts that are triggered by this analytics rule, are grouped into incidents.
        Parameters:
        groupingConfiguration - the groupingConfiguration value to set.
        Returns:
        the IncidentConfiguration object itself.
      • validate

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