Class NetworkSecurityRulesEvaluationResult

java.lang.Object
com.microsoft.azure.management.network.NetworkSecurityRulesEvaluationResult

public class NetworkSecurityRulesEvaluationResult extends Object
Network security rules evaluation result.
  • Constructor Details

    • NetworkSecurityRulesEvaluationResult

      public NetworkSecurityRulesEvaluationResult()
  • Method Details

    • name

      public String name()
      Get name of the network security rule.
      Returns:
      the name value
    • withName

      Set name of the network security rule.
      Parameters:
      name - the name value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.
    • protocolMatched

      public Boolean protocolMatched()
      Get value indicating whether protocol is matched.
      Returns:
      the protocolMatched value
    • withProtocolMatched

      public NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched)
      Set value indicating whether protocol is matched.
      Parameters:
      protocolMatched - the protocolMatched value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.
    • sourceMatched

      public Boolean sourceMatched()
      Get value indicating whether source is matched.
      Returns:
      the sourceMatched value
    • withSourceMatched

      public NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched)
      Set value indicating whether source is matched.
      Parameters:
      sourceMatched - the sourceMatched value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.
    • sourcePortMatched

      public Boolean sourcePortMatched()
      Get value indicating whether source port is matched.
      Returns:
      the sourcePortMatched value
    • withSourcePortMatched

      public NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched)
      Set value indicating whether source port is matched.
      Parameters:
      sourcePortMatched - the sourcePortMatched value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.
    • destinationMatched

      public Boolean destinationMatched()
      Get value indicating whether destination is matched.
      Returns:
      the destinationMatched value
    • withDestinationMatched

      public NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched)
      Set value indicating whether destination is matched.
      Parameters:
      destinationMatched - the destinationMatched value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.
    • destinationPortMatched

      public Boolean destinationPortMatched()
      Get value indicating whether destination port is matched.
      Returns:
      the destinationPortMatched value
    • withDestinationPortMatched

      public NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched)
      Set value indicating whether destination port is matched.
      Parameters:
      destinationPortMatched - the destinationPortMatched value to set
      Returns:
      the NetworkSecurityRulesEvaluationResult object itself.