Class FirewallPolicyRule

java.lang.Object
com.microsoft.azure.management.network.FirewallPolicyRule
Direct Known Subclasses:
FirewallPolicyFilterRule, FirewallPolicyNatRule

public class FirewallPolicyRule extends Object
Properties of the rule.
  • Constructor Details

    • FirewallPolicyRule

      public FirewallPolicyRule()
  • Method Details

    • name

      public String name()
      Get the name of the rule.
      Returns:
      the name value
    • withName

      public FirewallPolicyRule withName(String name)
      Set the name of the rule.
      Parameters:
      name - the name value to set
      Returns:
      the FirewallPolicyRule object itself.
    • priority

      public Integer priority()
      Get priority of the Firewall Policy Rule resource.
      Returns:
      the priority value
    • withPriority

      public FirewallPolicyRule withPriority(Integer priority)
      Set priority of the Firewall Policy Rule resource.
      Parameters:
      priority - the priority value to set
      Returns:
      the FirewallPolicyRule object itself.