ManagedRuleSetRuleGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ManagedRuleSetRuleGroup
- com.
Implements
public final class ManagedRuleSetRuleGroup
implements JsonSerializable<ManagedRuleSetRuleGroup>
Defines a managed rule set rule group.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedRuleSetRuleGroup() |
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<String> |
rules()
Get the rules property: List of rules within the rule group. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withRuleGroupName(String ruleGroupName)
Set the rule |
|
Managed |
withRules(List<String> rules)
Set the rules property: List of rules within the rule group. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRuleSetRuleGroup
public ManagedRuleSetRuleGroup()
Creates an instance of ManagedRuleSetRuleGroup class.
Method Details
fromJson
public static ManagedRuleSetRuleGroup fromJson(JsonReader jsonReader)
Reads an instance of ManagedRuleSetRuleGroup from the JsonReader.
Parameters:
Returns:
Throws:
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: Name of the rule group.
Returns:
rules
public List<String> rules()
Get the rules property: List of rules within the rule group.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRuleGroupName
public ManagedRuleSetRuleGroup withRuleGroupName(String ruleGroupName)
Set the ruleGroupName property: Name of the rule group.
Parameters:
Returns:
withRules
public ManagedRuleSetRuleGroup withRules(List<String> rules)
Set the rules property: List of rules within the rule group.
Parameters:
Returns: