NetworkSecurityRulesEvaluationResult Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NetworkSecurityRulesEvaluationResult
- com.
Implements
public final class NetworkSecurityRulesEvaluationResult
implements JsonSerializable<NetworkSecurityRulesEvaluationResult>
Network security rules evaluation result.
Constructor Summary
Constructor | Description |
---|---|
NetworkSecurityRulesEvaluationResult() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
destinationMatched()
Get the destination |
Boolean |
destinationPortMatched()
Get the destination |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
name()
Get the name property: Name of the network security rule. |
Boolean |
protocolMatched()
Get the protocol |
Boolean |
sourceMatched()
Get the source |
Boolean |
sourcePortMatched()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Network |
withDestinationMatched(Boolean destinationMatched)
Set the destination |
Network |
withDestinationPortMatched(Boolean destinationPortMatched)
Set the destination |
Network |
withName(String name)
Set the name property: Name of the network security rule. |
Network |
withProtocolMatched(Boolean protocolMatched)
Set the protocol |
Network |
withSourceMatched(Boolean sourceMatched)
Set the source |
Network |
withSourcePortMatched(Boolean sourcePortMatched)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
NetworkSecurityRulesEvaluationResult
public NetworkSecurityRulesEvaluationResult()
Creates an instance of NetworkSecurityRulesEvaluationResult class.
Method Details
destinationMatched
public Boolean destinationMatched()
Get the destinationMatched property: Value indicating whether destination is matched.
Returns:
destinationPortMatched
public Boolean destinationPortMatched()
Get the destinationPortMatched property: Value indicating whether destination port is matched.
Returns:
fromJson
public static NetworkSecurityRulesEvaluationResult fromJson(JsonReader jsonReader)
Reads an instance of NetworkSecurityRulesEvaluationResult from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the network security rule.
Returns:
protocolMatched
public Boolean protocolMatched()
Get the protocolMatched property: Value indicating whether protocol is matched.
Returns:
sourceMatched
public Boolean sourceMatched()
Get the sourceMatched property: Value indicating whether source is matched.
Returns:
sourcePortMatched
public Boolean sourcePortMatched()
Get the sourcePortMatched property: Value indicating whether source port is matched.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDestinationMatched
public NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched)
Set the destinationMatched property: Value indicating whether destination is matched.
Parameters:
Returns:
withDestinationPortMatched
public NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched)
Set the destinationPortMatched property: Value indicating whether destination port is matched.
Parameters:
Returns:
withName
public NetworkSecurityRulesEvaluationResult withName(String name)
Set the name property: Name of the network security rule.
Parameters:
Returns:
withProtocolMatched
public NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched)
Set the protocolMatched property: Value indicating whether protocol is matched.
Parameters:
Returns:
withSourceMatched
public NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched)
Set the sourceMatched property: Value indicating whether source is matched.
Parameters:
Returns:
withSourcePortMatched
public NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched)
Set the sourcePortMatched property: Value indicating whether source port is matched.
Parameters:
Returns:
Applies to
Azure SDK for Java