Class ApplicationGatewayFirewallRuleGroup
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRuleGroup
-
public final class ApplicationGatewayFirewallRuleGroup extends Object
A web application firewall rule group.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayFirewallRuleGroup()
-
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 group.StringruleGroupName()Get the ruleGroupName property: The name of the web application firewall rule group.List<ApplicationGatewayFirewallRule>rules()Get the rules property: The rules of the web application firewall rule group.voidvalidate()Validates the instance.ApplicationGatewayFirewallRuleGroupwithDescription(String description)Set the description property: The description of the web application firewall rule group.ApplicationGatewayFirewallRuleGroupwithRuleGroupName(String ruleGroupName)Set the ruleGroupName property: The name of the web application firewall rule group.ApplicationGatewayFirewallRuleGroupwithRules(List<ApplicationGatewayFirewallRule> rules)Set the rules property: The rules of the web application firewall rule group.
-
-
-
Method Detail
-
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: The name of the web application firewall rule group.- Returns:
- the ruleGroupName value.
-
withRuleGroupName
public ApplicationGatewayFirewallRuleGroup withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: The name of the web application firewall rule group.- Parameters:
ruleGroupName- the ruleGroupName value to set.- Returns:
- the ApplicationGatewayFirewallRuleGroup object itself.
-
description
public String description()
Get the description property: The description of the web application firewall rule group.- Returns:
- the description value.
-
withDescription
public ApplicationGatewayFirewallRuleGroup withDescription(String description)
Set the description property: The description of the web application firewall rule group.- Parameters:
description- the description value to set.- Returns:
- the ApplicationGatewayFirewallRuleGroup object itself.
-
rules
public List<ApplicationGatewayFirewallRule> rules()
Get the rules property: The rules of the web application firewall rule group.- Returns:
- the rules value.
-
withRules
public ApplicationGatewayFirewallRuleGroup withRules(List<ApplicationGatewayFirewallRule> rules)
Set the rules property: The rules of the web application firewall rule group.- Parameters:
rules- the rules value to set.- Returns:
- the ApplicationGatewayFirewallRuleGroup object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-