Class IncidentConfiguration
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentConfiguration
Incident Configuration property bag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the createIncident property: Create incidents from alerts triggered by this analytics rule.Get the groupingConfiguration property: Set how the alerts that are triggered by this analytics rule, are grouped into incidents.void
validate()
Validates the instance.withCreateIncident
(boolean createIncident) Set the createIncident property: Create incidents from alerts triggered by this analytics rule.withGroupingConfiguration
(GroupingConfiguration groupingConfiguration) Set the groupingConfiguration property: Set how the alerts that are triggered by this analytics rule, are grouped into incidents.
-
Constructor Details
-
IncidentConfiguration
public IncidentConfiguration()
-
-
Method Details
-
createIncident
public boolean createIncident()Get the createIncident property: Create incidents from alerts triggered by this analytics rule.- Returns:
- the createIncident value.
-
withCreateIncident
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
Get the groupingConfiguration property: Set how the alerts that are triggered by this analytics rule, are grouped into incidents.- Returns:
- the groupingConfiguration value.
-
withGroupingConfiguration
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.
-