Class ExclusionManagedRuleSet
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExclusionManagedRuleSet
-
public final class ExclusionManagedRuleSet extends Object
Defines a managed rule set for Exclusions.
-
-
Constructor Summary
Constructors Constructor Description ExclusionManagedRuleSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExclusionManagedRuleGroup>ruleGroups()Get the ruleGroups property: Defines the rule groups to apply to the rule set.StringruleSetType()Get the ruleSetType property: Defines the rule set type to use.StringruleSetVersion()Get the ruleSetVersion property: Defines the version of the rule set to use.voidvalidate()Validates the instance.ExclusionManagedRuleSetwithRuleGroups(List<ExclusionManagedRuleGroup> ruleGroups)Set the ruleGroups property: Defines the rule groups to apply to the rule set.ExclusionManagedRuleSetwithRuleSetType(String ruleSetType)Set the ruleSetType property: Defines the rule set type to use.ExclusionManagedRuleSetwithRuleSetVersion(String ruleSetVersion)Set the ruleSetVersion property: Defines the version of the rule set to use.
-
-
-
Method Detail
-
ruleSetType
public String ruleSetType()
Get the ruleSetType property: Defines the rule set type to use.- Returns:
- the ruleSetType value.
-
withRuleSetType
public ExclusionManagedRuleSet withRuleSetType(String ruleSetType)
Set the ruleSetType property: Defines the rule set type to use.- Parameters:
ruleSetType- the ruleSetType value to set.- Returns:
- the ExclusionManagedRuleSet object itself.
-
ruleSetVersion
public String ruleSetVersion()
Get the ruleSetVersion property: Defines the version of the rule set to use.- Returns:
- the ruleSetVersion value.
-
withRuleSetVersion
public ExclusionManagedRuleSet withRuleSetVersion(String ruleSetVersion)
Set the ruleSetVersion property: Defines the version of the rule set to use.- Parameters:
ruleSetVersion- the ruleSetVersion value to set.- Returns:
- the ExclusionManagedRuleSet object itself.
-
ruleGroups
public List<ExclusionManagedRuleGroup> ruleGroups()
Get the ruleGroups property: Defines the rule groups to apply to the rule set.- Returns:
- the ruleGroups value.
-
withRuleGroups
public ExclusionManagedRuleSet withRuleGroups(List<ExclusionManagedRuleGroup> ruleGroups)
Set the ruleGroups property: Defines the rule groups to apply to the rule set.- Parameters:
ruleGroups- the ruleGroups value to set.- Returns:
- the ExclusionManagedRuleSet object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-