Class ExclusionManagedRule
java.lang.Object
com.azure.resourcemanager.network.models.ExclusionManagedRule
Defines a managed rule to use for exclusion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionruleId()Get the ruleId property: Identifier for the managed rule.voidvalidate()Validates the instance.withRuleId(String ruleId) Set the ruleId property: Identifier for the managed rule.
-
Constructor Details
-
ExclusionManagedRule
public ExclusionManagedRule()Creates an instance of ExclusionManagedRule class.
-
-
Method Details
-
ruleId
Get the ruleId property: Identifier for the managed rule.- Returns:
- the ruleId value.
-
withRuleId
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.
-