ManagedRuleDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. ManagedRuleDefinition
- com.
Implements
public final class ManagedRuleDefinition
implements JsonSerializable<ManagedRuleDefinition>
Describes a managed rule definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedRuleDefinition() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Describes the functionality of the managed rule. |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
ruleId()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRuleDefinition
public ManagedRuleDefinition()
Creates an instance of ManagedRuleDefinition class.
Method Details
description
public String description()
Get the description property: Describes the functionality of the managed rule.
Returns:
fromJson
public static ManagedRuleDefinition fromJson(JsonReader jsonReader)
Reads an instance of ManagedRuleDefinition 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.