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 Summary
Constructors Constructor Description SecurityPolicyWebApplicationFirewallAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ActivatedResourceReference>domains()Get the domains property: List of domains.List<String>patternsToMatch()Get the patternsToMatch property: List of paths.voidvalidate()Validates the instance.SecurityPolicyWebApplicationFirewallAssociationwithDomains(List<ActivatedResourceReference> domains)Set the domains property: List of domains.SecurityPolicyWebApplicationFirewallAssociationwithPatternsToMatch(List<String> patternsToMatch)Set the patternsToMatch property: List of paths.
-
-
-
Method Detail
-
domains
public List<ActivatedResourceReference> domains()
Get the domains property: List of domains.- Returns:
- the domains value.
-
withDomains
public SecurityPolicyWebApplicationFirewallAssociation withDomains(List<ActivatedResourceReference> domains)
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.
-
-