Class AzureFirewallApplicationRule

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

public class AzureFirewallApplicationRule extends Object
Properties of an application rule.
  • Constructor Details

    • AzureFirewallApplicationRule

      public AzureFirewallApplicationRule()
  • Method Details

    • name

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

      public AzureFirewallApplicationRule withName(String name)
      Set name of the application rule.
      Parameters:
      name - the name value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • description

      public String description()
      Get description of the rule.
      Returns:
      the description value
    • withDescription

      public AzureFirewallApplicationRule withDescription(String description)
      Set description of the rule.
      Parameters:
      description - the description value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • sourceAddresses

      public List<String> sourceAddresses()
      Get list of source IP addresses for this rule.
      Returns:
      the sourceAddresses value
    • withSourceAddresses

      public AzureFirewallApplicationRule withSourceAddresses(List<String> sourceAddresses)
      Set list of source IP addresses for this rule.
      Parameters:
      sourceAddresses - the sourceAddresses value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • protocols

      Get array of ApplicationRuleProtocols.
      Returns:
      the protocols value
    • withProtocols

      Set array of ApplicationRuleProtocols.
      Parameters:
      protocols - the protocols value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • targetFqdns

      public List<String> targetFqdns()
      Get list of FQDNs for this rule.
      Returns:
      the targetFqdns value
    • withTargetFqdns

      public AzureFirewallApplicationRule withTargetFqdns(List<String> targetFqdns)
      Set list of FQDNs for this rule.
      Parameters:
      targetFqdns - the targetFqdns value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • fqdnTags

      public List<String> fqdnTags()
      Get list of FQDN Tags for this rule.
      Returns:
      the fqdnTags value
    • withFqdnTags

      public AzureFirewallApplicationRule withFqdnTags(List<String> fqdnTags)
      Set list of FQDN Tags for this rule.
      Parameters:
      fqdnTags - the fqdnTags value to set
      Returns:
      the AzureFirewallApplicationRule object itself.
    • sourceIpGroups

      public List<String> sourceIpGroups()
      Get list of source IpGroups for this rule.
      Returns:
      the sourceIpGroups value
    • withSourceIpGroups

      public AzureFirewallApplicationRule withSourceIpGroups(List<String> sourceIpGroups)
      Set list of source IpGroups for this rule.
      Parameters:
      sourceIpGroups - the sourceIpGroups value to set
      Returns:
      the AzureFirewallApplicationRule object itself.