FirewallPolicyRuleCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection

public class FirewallPolicyRuleCollection

Properties of the rule collection.

Constructor Summary

Constructor Description
FirewallPolicyRuleCollection()

Creates an instance of FirewallPolicyRuleCollection class.

Method Summary

Modifier and Type Method and Description
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.

void validate()

Validates the instance.

FirewallPolicyRuleCollection withName(String name)

Set the name property: The name of the rule collection.

FirewallPolicyRuleCollection 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

name

public String name()

Get the name property: The name of the rule collection.

Returns:

the name value.

priority

public Integer priority()

Get the priority property: Priority of the Firewall Policy Rule Collection resource.

Returns:

the priority value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to