ApplicationGatewayFirewallDisabledRuleGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayFirewallDisabledRuleGroup
- com.
Implements
public final class ApplicationGatewayFirewallDisabledRuleGroup
implements JsonSerializable<ApplicationGatewayFirewallDisabledRuleGroup>
Allows to disable rules within a rule group or an entire rule group.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayFirewallDisabledRuleGroup() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
ruleGroupName()
Get the rule |
List<Integer> |
rules()
Get the rules property: The list of rules that will be disabled. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withRuleGroupName(String ruleGroupName)
Set the rule |
Application |
withRules(List<Integer> rules)
Set the rules property: The list of rules that will be disabled. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayFirewallDisabledRuleGroup
public ApplicationGatewayFirewallDisabledRuleGroup()
Creates an instance of ApplicationGatewayFirewallDisabledRuleGroup class.
Method Details
fromJson
public static ApplicationGatewayFirewallDisabledRuleGroup fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFirewallDisabledRuleGroup from the JsonReader.
Parameters:
Returns:
Throws:
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: The name of the rule group that will be disabled.
Returns:
rules
public List
Get the rules property: The list of rules that will be disabled. If null, all rules of the rule group will be disabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRuleGroupName
public ApplicationGatewayFirewallDisabledRuleGroup withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: The name of the rule group that will be disabled.
Parameters:
Returns:
withRules
public ApplicationGatewayFirewallDisabledRuleGroup withRules(List
Set the rules property: The list of rules that will be disabled. If null, all rules of the rule group will be disabled.
Parameters:
Returns:
Applies to
Azure SDK for Java