Class ApplicationGatewayFirewallRule
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRule
A web application firewall rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the web application firewall rule.intruleId()Get the ruleId property: The identifier of the web application firewall rule.voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description of the web application firewall rule.withRuleId(int ruleId) Set the ruleId property: The identifier of the web application firewall rule.
-
Constructor Details
-
ApplicationGatewayFirewallRule
public ApplicationGatewayFirewallRule()
-
-
Method Details
-
ruleId
public int ruleId()Get the ruleId property: The identifier of the web application firewall rule.- Returns:
- the ruleId value.
-
withRuleId
Set the ruleId property: The identifier of the web application firewall rule.- Parameters:
ruleId- the ruleId value to set.- Returns:
- the ApplicationGatewayFirewallRule object itself.
-
description
Get the description property: The description of the web application firewall rule.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the web application firewall rule.- Parameters:
description- the description value to set.- Returns:
- the ApplicationGatewayFirewallRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-