Class ManagedRuleGroupDefinition
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ManagedRuleGroupDefinition
-
public final class ManagedRuleGroupDefinition extends Object
Describes a managed rule group.
-
-
Constructor Summary
Constructors Constructor Description ManagedRuleGroupDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of the managed rule group.StringruleGroupName()Get the ruleGroupName property: Name of the managed rule group.List<ManagedRuleDefinition>rules()Get the rules property: List of rules within the managed rule group.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
ruleGroupName
public String ruleGroupName()
Get the ruleGroupName property: Name of the managed rule group.- Returns:
- the ruleGroupName value.
-
description
public String description()
Get the description property: Description of the managed rule group.- Returns:
- the description value.
-
rules
public List<ManagedRuleDefinition> rules()
Get the rules property: List of rules within the managed rule group.- Returns:
- the rules value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-