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