public class MatchedRule extends Object
| Constructor and Description |
|---|
MatchedRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the network traffic is allowed or denied.
|
String |
ruleName()
Get name of the matched network security rule.
|
MatchedRule |
withAction(String action)
Set the network traffic is allowed or denied.
|
MatchedRule |
withRuleName(String ruleName)
Set name of the matched network security rule.
|
public String ruleName()
public MatchedRule withRuleName(String ruleName)
ruleName - the ruleName value to setpublic String action()
public MatchedRule withAction(String action)
action - the action value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/