Class AzureFirewallApplicationRule


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

      • AzureFirewallApplicationRule

        public AzureFirewallApplicationRule()
    • Method Detail

      • name

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

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

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

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

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

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

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

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

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

        public AzureFirewallApplicationRule withFqdnTags​(List<String> fqdnTags)
        Set the fqdnTags property: 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 the sourceIpGroups property: List of source IpGroups for this rule.
        Returns:
        the sourceIpGroups value.
      • withSourceIpGroups

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

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.