Class DeviceSecurityGroupInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.DeviceSecurityGroupInner

public final class DeviceSecurityGroupInner extends com.azure.core.management.ProxyResource
The device security group resource.
  • Constructor Details

    • DeviceSecurityGroupInner

      public DeviceSecurityGroupInner()
  • Method Details

    • thresholdRules

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

      public DeviceSecurityGroupInner withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules)
      Set the thresholdRules property: The list of custom alert threshold rules.
      Parameters:
      thresholdRules - the thresholdRules value to set.
      Returns:
      the DeviceSecurityGroupInner 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 DeviceSecurityGroupInner 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 DeviceSecurityGroupInner object itself.
    • allowlistRules

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

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

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

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

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