public final class MatchedRule extends Object
| Constructor and Description |
|---|
MatchedRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the action property: The network traffic is allowed or denied.
|
String |
ruleName()
Get the ruleName property: Name of the matched network security rule.
|
void |
validate()
Validates the instance.
|
MatchedRule |
withAction(String action)
Set the action property: The network traffic is allowed or denied.
|
MatchedRule |
withRuleName(String ruleName)
Set the ruleName property: Name of the matched network security rule.
|
public String ruleName()
public MatchedRule withRuleName(String ruleName)
ruleName - the ruleName value to set.public String action()
public MatchedRule withAction(String action)
action - the action value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.