Class MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.models.AlertRuleTemplatePropertiesBase
com.azure.resourcemanager.securityinsights.fluent.models.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
public final class MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
extends AlertRuleTemplatePropertiesBase
MicrosoftSecurityIncidentCreation rule template properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.Get the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.Get the productFilter property: The alerts' productName on which the cases will be generated.Get the severitiesFilter property: the alerts' severities on which the cases will be generated.void
validate()
Validates the instance.withAlertRulesCreatedByTemplateCount
(Integer alertRulesCreatedByTemplateCount) Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.withDescription
(String description) Set the description property: The description of the alert rule template.withDisplayName
(String displayName) Set the displayName property: The display name for alert rule template.withDisplayNamesExcludeFilter
(List<String> displayNamesExcludeFilter) Set the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.withDisplayNamesFilter
(List<String> displayNamesFilter) Set the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.withProductFilter
(MicrosoftSecurityProductName productFilter) Set the productFilter property: The alerts' productName on which the cases will be generated.withRequiredDataConnectors
(List<AlertRuleTemplateDataSource> requiredDataConnectors) Set the requiredDataConnectors property: The required data sources for this template.withSeveritiesFilter
(List<AlertSeverity> severitiesFilter) Set the severitiesFilter property: the alerts' severities on which the cases will be generated.withStatus
(TemplateStatus status) Set the status property: The alert rule template status.Methods inherited from class com.azure.resourcemanager.securityinsights.models.AlertRuleTemplatePropertiesBase
alertRulesCreatedByTemplateCount, createdDateUtc, description, displayName, lastUpdatedDateUtc, requiredDataConnectors, status
-
Constructor Details
-
MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties()
-
-
Method Details
-
displayNamesFilter
Get the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.- Returns:
- the displayNamesFilter value.
-
withDisplayNamesFilter
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withDisplayNamesFilter(List<String> displayNamesFilter) Set the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.- Parameters:
displayNamesFilter
- the displayNamesFilter value to set.- Returns:
- the MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties object itself.
-
displayNamesExcludeFilter
Get the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.- Returns:
- the displayNamesExcludeFilter value.
-
withDisplayNamesExcludeFilter
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withDisplayNamesExcludeFilter(List<String> displayNamesExcludeFilter) Set the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.- Parameters:
displayNamesExcludeFilter
- the displayNamesExcludeFilter value to set.- Returns:
- the MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties object itself.
-
productFilter
Get the productFilter property: The alerts' productName on which the cases will be generated.- Returns:
- the productFilter value.
-
withProductFilter
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withProductFilter(MicrosoftSecurityProductName productFilter) Set the productFilter property: The alerts' productName on which the cases will be generated.- Parameters:
productFilter
- the productFilter value to set.- Returns:
- the MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties object itself.
-
severitiesFilter
Get the severitiesFilter property: the alerts' severities on which the cases will be generated.- Returns:
- the severitiesFilter value.
-
withSeveritiesFilter
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withSeveritiesFilter(List<AlertSeverity> severitiesFilter) Set the severitiesFilter property: the alerts' severities on which the cases will be generated.- Parameters:
severitiesFilter
- the severitiesFilter value to set.- Returns:
- the MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties object itself.
-
withAlertRulesCreatedByTemplateCount
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withAlertRulesCreatedByTemplateCount(Integer alertRulesCreatedByTemplateCount) Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.- Overrides:
withAlertRulesCreatedByTemplateCount
in classAlertRuleTemplatePropertiesBase
- Parameters:
alertRulesCreatedByTemplateCount
- the alertRulesCreatedByTemplateCount value to set.- Returns:
- the AlertRuleTemplatePropertiesBase object itself.
-
withDescription
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withDescription(String description) Set the description property: The description of the alert rule template.- Overrides:
withDescription
in classAlertRuleTemplatePropertiesBase
- Parameters:
description
- the description value to set.- Returns:
- the AlertRuleTemplatePropertiesBase object itself.
-
withDisplayName
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withDisplayName(String displayName) Set the displayName property: The display name for alert rule template.- Overrides:
withDisplayName
in classAlertRuleTemplatePropertiesBase
- Parameters:
displayName
- the displayName value to set.- Returns:
- the AlertRuleTemplatePropertiesBase object itself.
-
withRequiredDataConnectors
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withRequiredDataConnectors(List<AlertRuleTemplateDataSource> requiredDataConnectors) Set the requiredDataConnectors property: The required data sources for this template.- Overrides:
withRequiredDataConnectors
in classAlertRuleTemplatePropertiesBase
- Parameters:
requiredDataConnectors
- the requiredDataConnectors value to set.- Returns:
- the AlertRuleTemplatePropertiesBase object itself.
-
withStatus
public MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties withStatus(TemplateStatus status) Set the status property: The alert rule template status.- Overrides:
withStatus
in classAlertRuleTemplatePropertiesBase
- Parameters:
status
- the status value to set.- Returns:
- the AlertRuleTemplatePropertiesBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAlertRuleTemplatePropertiesBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-