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 Summary
Constructor | Description |
---|---|
ManagedRuleGroupOverride() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
ruleGroupName()
Get the rule |
List<Managed |
rules()
Get the rules property: List of rules that will be disabled. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withRuleGroupName(String ruleGroupName)
Set the rule |
Managed |
withRules(List<ManagedRuleOverride> rules)
Set the rules property: List of rules that will be disabled. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRuleGroupOverride
public ManagedRuleGroupOverride()
Creates an instance of ManagedRuleGroupOverride class.
Method Details
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: