Class MicrosoftSecurityIncidentCreationAlertRule

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.AlertRuleInner
com.azure.resourcemanager.securityinsights.models.MicrosoftSecurityIncidentCreationAlertRule

public final class MicrosoftSecurityIncidentCreationAlertRule extends AlertRuleInner
Represents MicrosoftSecurityIncidentCreation rule.
  • Constructor Details

    • MicrosoftSecurityIncidentCreationAlertRule

      public MicrosoftSecurityIncidentCreationAlertRule()
  • Method Details

    • withEtag

      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class AlertRuleInner
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • alertRuleTemplateName

      public String alertRuleTemplateName()
      Get the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.
      Returns:
      the alertRuleTemplateName value.
    • withAlertRuleTemplateName

      public MicrosoftSecurityIncidentCreationAlertRule withAlertRuleTemplateName(String alertRuleTemplateName)
      Set the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.
      Parameters:
      alertRuleTemplateName - the alertRuleTemplateName value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRule object itself.
    • description

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

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

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

      public MicrosoftSecurityIncidentCreationAlertRule withDisplayName(String displayName)
      Set the displayName property: The display name for alerts created by this alert rule.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRule object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Determines whether this alert rule is enabled or disabled.
      Returns:
      the enabled value.
    • withEnabled

      Set the enabled property: Determines whether this alert rule is enabled or disabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the MicrosoftSecurityIncidentCreationAlertRule object itself.
    • lastModifiedUtc

      public OffsetDateTime lastModifiedUtc()
      Get the lastModifiedUtc property: The last time that this alert has been modified.
      Returns:
      the lastModifiedUtc value.
    • 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule 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 MicrosoftSecurityIncidentCreationAlertRule object itself.
    • validate

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