MatchedRule Class

  • java.lang.Object
    • com.microsoft.azure.management.network.MatchedRule

public class MatchedRule

Matched rule.

Constructor Summary

Constructor Description
MatchedRule()

Method Summary

Modifier and Type Method and Description
java.lang.String action()

Get the network traffic is allowed or denied.

java.lang.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MatchedRule

public MatchedRule()

Method Details

action

public String action()

Get the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.

Returns:

the action value

ruleName

public String ruleName()

Get name of the matched network security rule.

Returns:

the ruleName value

withAction

public MatchedRule withAction(String action)

Set the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.

Parameters:

action - the action value to set

Returns:

the MatchedRule object itself.

withRuleName

public MatchedRule withRuleName(String ruleName)

Set name of the matched network security rule.

Parameters:

ruleName - the ruleName value to set

Returns:

the MatchedRule object itself.

Applies to