FirewallPolicyRuleCollection Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyRuleCollection
- com.
Implements
public class FirewallPolicyRuleCollection
implements JsonSerializable<FirewallPolicyRuleCollection>
Properties of the rule collection.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyRuleCollection() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
String |
name()
Get the name property: The name of the rule collection. |
Integer |
priority()
Get the priority property: Priority of the Firewall Policy Rule Collection resource. |
Firewall |
ruleCollectionType()
Get the rule |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Firewall |
withName(String name)
Set the name property: The name of the rule collection. |
Firewall |
withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection resource. |
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyRuleCollection
public FirewallPolicyRuleCollection()
Creates an instance of FirewallPolicyRuleCollection class.
Method Details
fromJson
public static FirewallPolicyRuleCollection fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyRuleCollection from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the rule collection.
Returns:
priority
public Integer priority()
Get the priority property: Priority of the Firewall Policy Rule Collection resource.
Returns:
ruleCollectionType
public FirewallPolicyRuleCollectionType ruleCollectionType()
Get the ruleCollectionType property: The type of the rule collection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public FirewallPolicyRuleCollection withName(String name)
Set the name property: The name of the rule collection.
Parameters:
Returns:
withPriority
public FirewallPolicyRuleCollection withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection resource.
Parameters:
Returns:
Applies to
Azure SDK for Java