ExclusionManagedRule Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ExclusionManagedRule
- com.
Implements
public final class ExclusionManagedRule
implements JsonSerializable<ExclusionManagedRule>
Defines a managed rule to use for exclusion.
Constructor Summary
Constructor | Description |
---|---|
ExclusionManagedRule() |
Creates an instance of Exclusion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Exclusion |
fromJson(JsonReader jsonReader)
Reads an instance of Exclusion |
String |
ruleId()
Get the rule |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Exclusion |
withRuleId(String ruleId)
Set the rule |
Methods inherited from java.lang.Object
Constructor Details
ExclusionManagedRule
public ExclusionManagedRule()
Creates an instance of ExclusionManagedRule class.
Method Details
fromJson
public static ExclusionManagedRule fromJson(JsonReader jsonReader)
Reads an instance of ExclusionManagedRule from the JsonReader.
Parameters:
Returns:
Throws:
ruleId
public String ruleId()
Get the ruleId property: Identifier for the managed rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRuleId
public ExclusionManagedRule withRuleId(String ruleId)
Set the ruleId property: Identifier for the managed rule.
Parameters:
Returns:
Applies to
Azure SDK for Java