ApplicationGatewayFirewallRuleGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayFirewallRuleGroup
- com.
Implements
public final class ApplicationGatewayFirewallRuleGroup
implements JsonSerializable<ApplicationGatewayFirewallRuleGroup>
A web application firewall rule group.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayFirewallRuleGroup() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of the web application firewall rule group. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
ruleGroupName()
Get the rule |
List<Application |
rules()
Get the rules property: The rules of the web application firewall rule group. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withDescription(String description)
Set the description property: The description of the web application firewall rule group. |
Application |
withRuleGroupName(String ruleGroupName)
Set the rule |
Application |
withRules(List<ApplicationGatewayFirewallRule> rules)
Set the rules property: The rules of the web application firewall rule group. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayFirewallRuleGroup
public ApplicationGatewayFirewallRuleGroup()
Creates an instance of ApplicationGatewayFirewallRuleGroup class.
Method Details
description
public String description()
Get the description property: The description of the web application firewall rule group.
Returns:
fromJson
public static ApplicationGatewayFirewallRuleGroup fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFirewallRuleGroup from the JsonReader.
Parameters:
Returns:
Throws:
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: The name of the web application firewall rule group.
Returns:
rules
public List
Get the rules property: The rules of the web application firewall rule group.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ApplicationGatewayFirewallRuleGroup withDescription(String description)
Set the description property: The description of the web application firewall rule group.
Parameters:
Returns:
withRuleGroupName
public ApplicationGatewayFirewallRuleGroup withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: The name of the web application firewall rule group.
Parameters:
Returns:
withRules
public ApplicationGatewayFirewallRuleGroup withRules(List
Set the rules property: The rules of the web application firewall rule group.
Parameters:
Returns:
Applies to
Azure SDK for Java