Class FirewallPolicyRuleCollection
- java.lang.Object
-
- com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection
-
- Direct Known Subclasses:
FirewallPolicyFilterRuleCollection,FirewallPolicyNatRuleCollection
public class FirewallPolicyRuleCollection extends Object
Properties of the rule collection.
-
-
Constructor Summary
Constructors Constructor Description FirewallPolicyRuleCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The name of the rule collection.Integerpriority()Get the priority property: Priority of the Firewall Policy Rule Collection resource.voidvalidate()Validates the instance.FirewallPolicyRuleCollectionwithName(String name)Set the name property: The name of the rule collection.FirewallPolicyRuleCollectionwithPriority(Integer priority)Set the priority property: Priority of the Firewall Policy Rule Collection resource.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the rule collection.- Returns:
- the name value.
-
withName
public FirewallPolicyRuleCollection withName(String name)
Set the name property: The name of the rule collection.- Parameters:
name- the name value to set.- Returns:
- the FirewallPolicyRuleCollection object itself.
-
priority
public Integer priority()
Get the priority property: Priority of the Firewall Policy Rule Collection resource.- Returns:
- the priority value.
-
withPriority
public FirewallPolicyRuleCollection withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection resource.- Parameters:
priority- the priority value to set.- Returns:
- the FirewallPolicyRuleCollection object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-