Class DeviceSecurityGroupProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.DeviceSecurityGroupProperties

public final class DeviceSecurityGroupProperties extends Object
describes properties of a security group.
  • Constructor Details

    • DeviceSecurityGroupProperties

      public DeviceSecurityGroupProperties()
  • Method Details

    • thresholdRules

      public List<ThresholdCustomAlertRule> thresholdRules()
      Get the thresholdRules property: The list of custom alert threshold rules.
      Returns:
      the thresholdRules value.
    • withThresholdRules

      public DeviceSecurityGroupProperties withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules)
      Set the thresholdRules property: The list of custom alert threshold rules.
      Parameters:
      thresholdRules - the thresholdRules value to set.
      Returns:
      the DeviceSecurityGroupProperties object itself.
    • timeWindowRules

      public List<TimeWindowCustomAlertRule> timeWindowRules()
      Get the timeWindowRules property: The list of custom alert time-window rules.
      Returns:
      the timeWindowRules value.
    • withTimeWindowRules

      public DeviceSecurityGroupProperties withTimeWindowRules(List<TimeWindowCustomAlertRule> timeWindowRules)
      Set the timeWindowRules property: The list of custom alert time-window rules.
      Parameters:
      timeWindowRules - the timeWindowRules value to set.
      Returns:
      the DeviceSecurityGroupProperties object itself.
    • allowlistRules

      public List<AllowlistCustomAlertRule> allowlistRules()
      Get the allowlistRules property: The allow-list custom alert rules.
      Returns:
      the allowlistRules value.
    • withAllowlistRules

      public DeviceSecurityGroupProperties withAllowlistRules(List<AllowlistCustomAlertRule> allowlistRules)
      Set the allowlistRules property: The allow-list custom alert rules.
      Parameters:
      allowlistRules - the allowlistRules value to set.
      Returns:
      the DeviceSecurityGroupProperties object itself.
    • denylistRules

      public List<DenylistCustomAlertRule> denylistRules()
      Get the denylistRules property: The deny-list custom alert rules.
      Returns:
      the denylistRules value.
    • withDenylistRules

      public DeviceSecurityGroupProperties withDenylistRules(List<DenylistCustomAlertRule> denylistRules)
      Set the denylistRules property: The deny-list custom alert rules.
      Parameters:
      denylistRules - the denylistRules value to set.
      Returns:
      the DeviceSecurityGroupProperties object itself.
    • validate

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