Class ExclusionManagedRule
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExclusionManagedRule
-
public final class ExclusionManagedRule extends Object
Defines a managed rule to use for exclusion.
-
-
Constructor Summary
Constructors Constructor Description ExclusionManagedRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringruleId()Get the ruleId property: Identifier for the managed rule.voidvalidate()Validates the instance.ExclusionManagedRulewithRuleId(String ruleId)Set the ruleId property: Identifier for the managed rule.
-
-
-
Method Detail
-
ruleId
public String ruleId()
Get the ruleId property: Identifier for the managed rule.- Returns:
- the ruleId value.
-
withRuleId
public ExclusionManagedRule withRuleId(String ruleId)
Set the ruleId property: Identifier for the managed rule.- Parameters:
ruleId- the ruleId value to set.- Returns:
- the ExclusionManagedRule object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-