Class MicrosoftSecurityIncidentCreationAlertRuleTemplate

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.AlertRuleTemplateInner
com.azure.resourcemanager.securityinsights.models.MicrosoftSecurityIncidentCreationAlertRuleTemplate

public final class MicrosoftSecurityIncidentCreationAlertRuleTemplate extends AlertRuleTemplateInner
Represents MicrosoftSecurityIncidentCreation rule template.
  • Constructor Details

    • MicrosoftSecurityIncidentCreationAlertRuleTemplate

      public MicrosoftSecurityIncidentCreationAlertRuleTemplate()
  • Method Details

    • 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate 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

      Set the productFilter property: The alerts' productName on which the cases will be generated.
      Parameters:
      productFilter - the productFilter value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate 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 MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • alertRulesCreatedByTemplateCount

      public Integer alertRulesCreatedByTemplateCount()
      Get the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.
      Returns:
      the alertRulesCreatedByTemplateCount value.
    • withAlertRulesCreatedByTemplateCount

      public MicrosoftSecurityIncidentCreationAlertRuleTemplate withAlertRulesCreatedByTemplateCount(Integer alertRulesCreatedByTemplateCount)
      Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.
      Parameters:
      alertRulesCreatedByTemplateCount - the alertRulesCreatedByTemplateCount value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • lastUpdatedDateUtc

      public OffsetDateTime lastUpdatedDateUtc()
      Get the lastUpdatedDateUtc property: The last time that this alert rule template has been updated.
      Returns:
      the lastUpdatedDateUtc value.
    • createdDateUtc

      public OffsetDateTime createdDateUtc()
      Get the createdDateUtc property: The time that this alert rule template has been added.
      Returns:
      the createdDateUtc value.
    • description

      public String description()
      Get the description property: The description of the alert rule template.
      Returns:
      the description value.
    • withDescription

      public MicrosoftSecurityIncidentCreationAlertRuleTemplate withDescription(String description)
      Set the description property: The description of the alert rule template.
      Parameters:
      description - the description value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name for alert rule template.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftSecurityIncidentCreationAlertRuleTemplate withDisplayName(String displayName)
      Set the displayName property: The display name for alert rule template.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • requiredDataConnectors

      public List<AlertRuleTemplateDataSource> requiredDataConnectors()
      Get the requiredDataConnectors property: The required data sources for this template.
      Returns:
      the requiredDataConnectors value.
    • withRequiredDataConnectors

      public MicrosoftSecurityIncidentCreationAlertRuleTemplate withRequiredDataConnectors(List<AlertRuleTemplateDataSource> requiredDataConnectors)
      Set the requiredDataConnectors property: The required data sources for this template.
      Parameters:
      requiredDataConnectors - the requiredDataConnectors value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • status

      public TemplateStatus status()
      Get the status property: The alert rule template status.
      Returns:
      the status value.
    • withStatus

      Set the status property: The alert rule template status.
      Parameters:
      status - the status value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRuleTemplate object itself.
    • validate

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