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
Constructors Constructor Description MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
displayNamesExcludeFilter()
Get the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.List<String>
displayNamesFilter()
Get the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.MicrosoftSecurityProductName
productFilter()
Get the productFilter property: The alerts' productName on which the cases will be generated.List<AlertSeverity>
severitiesFilter()
Get the severitiesFilter property: the alerts' severities on which the cases will be generated.void
validate()
Validates the instance.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withAlertRulesCreatedByTemplateCount(Integer alertRulesCreatedByTemplateCount)
Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withDescription(String description)
Set the description property: The description of the alert rule template.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withDisplayName(String displayName)
Set the displayName property: The display name for alert rule template.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withDisplayNamesExcludeFilter(List<String> displayNamesExcludeFilter)
Set the displayNamesExcludeFilter property: the alerts' displayNames on which the cases will not be generated.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withDisplayNamesFilter(List<String> displayNamesFilter)
Set the displayNamesFilter property: the alerts' displayNames on which the cases will be generated.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withProductFilter(MicrosoftSecurityProductName productFilter)
Set the productFilter property: The alerts' productName on which the cases will be generated.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withRequiredDataConnectors(List<AlertRuleTemplateDataSource> requiredDataConnectors)
Set the requiredDataConnectors property: The required data sources for this template.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
withSeveritiesFilter(List<AlertSeverity> severitiesFilter)
Set the severitiesFilter property: the alerts' severities on which the cases will be generated.MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties
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
-
-
-
-
Method Detail
-
displayNamesFilter
public List<String> 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
public List<String> 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
public MicrosoftSecurityProductName 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
public List<AlertSeverity> 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.
-
-