Class SecurityPolicyWebApplicationFirewallAssociation

java.lang.Object
com.azure.resourcemanager.cdn.models.SecurityPolicyWebApplicationFirewallAssociation

public final class SecurityPolicyWebApplicationFirewallAssociation extends Object
settings for security policy patterns to match.
  • Constructor Details

    • SecurityPolicyWebApplicationFirewallAssociation

      public SecurityPolicyWebApplicationFirewallAssociation()
      Creates an instance of SecurityPolicyWebApplicationFirewallAssociation class.
  • Method Details

    • domains

      public List<ActivatedResourceReference> domains()
      Get the domains property: List of domains.
      Returns:
      the domains value.
    • withDomains

      Set the domains property: List of domains.
      Parameters:
      domains - the domains value to set.
      Returns:
      the SecurityPolicyWebApplicationFirewallAssociation object itself.
    • patternsToMatch

      public List<String> patternsToMatch()
      Get the patternsToMatch property: List of paths.
      Returns:
      the patternsToMatch value.
    • withPatternsToMatch

      public SecurityPolicyWebApplicationFirewallAssociation withPatternsToMatch(List<String> patternsToMatch)
      Set the patternsToMatch property: List of paths.
      Parameters:
      patternsToMatch - the patternsToMatch value to set.
      Returns:
      the SecurityPolicyWebApplicationFirewallAssociation object itself.
    • validate

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