ApplicationGatewayFirewallRule Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayFirewallRule
- com.
Implements
public final class ApplicationGatewayFirewallRule
implements JsonSerializable<ApplicationGatewayFirewallRule>
A web application firewall rule.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Application |
action()
Get the action property: The string representation of the web application firewall rule action. |
| String |
description()
Get the description property: The description of the web application firewall rule. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| int |
ruleId()
Get the rule |
| String |
ruleIdString()
Get the rule |
|
Application |
sensitivity()
Get the sensitivity property: The string representation of the web application firewall rule sensitivity. |
|
Application |
state()
Get the state property: The string representation of the web application firewall rule state. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
action
public ApplicationGatewayWafRuleActionTypes action()
Get the action property: The string representation of the web application firewall rule action.
Returns:
description
public String description()
Get the description property: The description of the web application firewall rule.
Returns:
fromJson
public static ApplicationGatewayFirewallRule fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFirewallRule from the JsonReader.
Parameters:
Returns:
Throws:
ruleId
public int ruleId()
Get the ruleId property: The identifier of the web application firewall rule.
Returns:
ruleIdString
public String ruleIdString()
Get the ruleIdString property: The string representation of the web application firewall rule identifier.
Returns:
sensitivity
public ApplicationGatewayWafRuleSensitivityTypes sensitivity()
Get the sensitivity property: The string representation of the web application firewall rule sensitivity.
Returns:
state
public ApplicationGatewayWafRuleStateTypes state()
Get the state property: The string representation of the web application firewall rule state.
Returns:
toJson
validate
public void validate()
Validates the instance.