Class ExclusionManagedRule

java.lang.Object
com.azure.resourcemanager.network.models.ExclusionManagedRule

public final class ExclusionManagedRule extends Object
Defines a managed rule to use for exclusion.
  • Constructor Details

    • ExclusionManagedRule

      public ExclusionManagedRule()
      Creates an instance of ExclusionManagedRule class.
  • Method Details

    • ruleId

      public String ruleId()
      Get the ruleId property: Identifier for the managed rule.
      Returns:
      the ruleId value.
    • withRuleId

      public ExclusionManagedRule withRuleId(String ruleId)
      Set the ruleId property: Identifier for the managed rule.
      Parameters:
      ruleId - the ruleId value to set.
      Returns:
      the ExclusionManagedRule object itself.
    • validate

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