ApplicationGatewayFirewallRule Class

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

public class ApplicationGatewayFirewallRule

A web application firewall rule.

Constructor Summary

Constructor Description
ApplicationGatewayFirewallRule()

Method Summary

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

Get the description of the web application firewall rule.

int ruleId()

Get the identifier of the web application firewall rule.

ApplicationGatewayFirewallRule withDescription(String description)

Set the description of the web application firewall rule.

ApplicationGatewayFirewallRule withRuleId(int ruleId)

Set the identifier of the web application firewall rule.

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

ApplicationGatewayFirewallRule

public ApplicationGatewayFirewallRule()

Method Details

description

public String description()

Get the description of the web application firewall rule.

Returns:

the description value

ruleId

public int ruleId()

Get the identifier of the web application firewall rule.

Returns:

the ruleId value

withDescription

public ApplicationGatewayFirewallRule withDescription(String description)

Set the description of the web application firewall rule.

Parameters:

description - the description value to set

Returns:

the ApplicationGatewayFirewallRule object itself.

withRuleId

public ApplicationGatewayFirewallRule withRuleId(int ruleId)

Set the identifier of the web application firewall rule.

Parameters:

ruleId - the ruleId value to set

Returns:

the ApplicationGatewayFirewallRule object itself.

Applies to