public final class NetworkSecurityRulesEvaluationResult extends Object
| Constructor and Description |
|---|
NetworkSecurityRulesEvaluationResult() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
destinationMatched()
Get the destinationMatched property: Value indicating whether destination is matched.
|
Boolean |
destinationPortMatched()
Get the destinationPortMatched property: Value indicating whether destination port is matched.
|
String |
name()
Get the name property: Name of the network security rule.
|
Boolean |
protocolMatched()
Get the protocolMatched property: Value indicating whether protocol is matched.
|
Boolean |
sourceMatched()
Get the sourceMatched property: Value indicating whether source is matched.
|
Boolean |
sourcePortMatched()
Get the sourcePortMatched property: Value indicating whether source port is matched.
|
void |
validate()
Validates the instance.
|
NetworkSecurityRulesEvaluationResult |
withDestinationMatched(Boolean destinationMatched)
Set the destinationMatched property: Value indicating whether destination is matched.
|
NetworkSecurityRulesEvaluationResult |
withDestinationPortMatched(Boolean destinationPortMatched)
Set the destinationPortMatched property: Value indicating whether destination port is matched.
|
NetworkSecurityRulesEvaluationResult |
withName(String name)
Set the name property: Name of the network security rule.
|
NetworkSecurityRulesEvaluationResult |
withProtocolMatched(Boolean protocolMatched)
Set the protocolMatched property: Value indicating whether protocol is matched.
|
NetworkSecurityRulesEvaluationResult |
withSourceMatched(Boolean sourceMatched)
Set the sourceMatched property: Value indicating whether source is matched.
|
NetworkSecurityRulesEvaluationResult |
withSourcePortMatched(Boolean sourcePortMatched)
Set the sourcePortMatched property: Value indicating whether source port is matched.
|
public NetworkSecurityRulesEvaluationResult()
public String name()
public NetworkSecurityRulesEvaluationResult withName(String name)
name - the name value to set.public Boolean protocolMatched()
public NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched)
protocolMatched - the protocolMatched value to set.public Boolean sourceMatched()
public NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched)
sourceMatched - the sourceMatched value to set.public Boolean sourcePortMatched()
public NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched)
sourcePortMatched - the sourcePortMatched value to set.public Boolean destinationMatched()
public NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched)
destinationMatched - the destinationMatched value to set.public Boolean destinationPortMatched()
public NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched)
destinationPortMatched - the destinationPortMatched value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.