FirewallPolicyRule Class

  • java.lang.Object
    • com.microsoft.azure.management.network.FirewallPolicyRule

public class FirewallPolicyRule

Properties of the rule.

Constructor Summary

Constructor Description
FirewallPolicyRule()

Method Summary

Modifier and Type Method and Description
java.lang.String name()

Get the name of the rule.

java.lang.Integer priority()

Get priority of the Firewall Policy Rule resource.

FirewallPolicyRule withName(String name)

Set the name of the rule.

FirewallPolicyRule withPriority(Integer priority)

Set priority of the Firewall Policy Rule resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FirewallPolicyRule

public FirewallPolicyRule()

Method Details

name

public String name()

Get the name of the rule.

Returns:

the name value

priority

public Integer priority()

Get priority of the Firewall Policy Rule resource.

Returns:

the priority 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.

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.

Applies to