ManagedRuleGroupOverride Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ManagedRuleGroupOverride
- com.
Implements
public final class ManagedRuleGroupOverride
implements JsonSerializable<ManagedRuleGroupOverride>
Defines a managed rule group override setting.
Constructor | Description |
---|---|
Managed |
Creates an instance of Managed |
Modifier and Type | Method and Description |
---|---|
static
Managed |
from Reads an instance of Managed |
String |
rule Get the rule |
List<Managed |
rules()
Get the rules property: List of rules that will be disabled. |
Json |
to |
void |
validate()
Validates the instance. |
Managed |
with Set the rule |
Managed |
with Set the rules property: List of rules that will be disabled. |
Methods inherited from java.lang.Object
ManagedRuleGroupOverride
public ManagedRuleGroupOverride()
Creates an instance of ManagedRuleGroupOverride class.
fromJson
public static ManagedRuleGroupOverride fromJson(JsonReader jsonReader)
Reads an instance of ManagedRuleGroupOverride from the JsonReader.
Parameters:
Returns:
Throws:
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: The managed rule group to override.
Returns:
rules
public List
Get the rules property: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRuleGroupName
public ManagedRuleGroupOverride withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: The managed rule group to override.
Parameters:
Returns:
withRules
public ManagedRuleGroupOverride withRules(List
Set the rules property: List of rules that will be disabled. If none specified, all rules in the group will be disabled.
Parameters:
Returns:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: