Class ApplicationGatewayFirewallRule
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRule
-
public final class ApplicationGatewayFirewallRule extends Object
A web application firewall rule.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayFirewallRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get 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.ApplicationGatewayFirewallRulewithDescription(String description)Set the description property: The description of the web application firewall rule.ApplicationGatewayFirewallRulewithRuleId(int ruleId)Set the ruleId property: The identifier of the web application firewall rule.
-
-
-
Method Detail
-
ruleId
public int ruleId()
Get the ruleId property: The identifier of the web application firewall rule.- Returns:
- the ruleId value.
-
withRuleId
public ApplicationGatewayFirewallRule withRuleId(int ruleId)
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
public String description()
Get the description property: The description of the web application firewall rule.- Returns:
- the description value.
-
withDescription
public ApplicationGatewayFirewallRule withDescription(String description)
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.
-
-