Class WebApplicationFirewallPolicyProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.WebApplicationFirewallPolicyProperties

public final class WebApplicationFirewallPolicyProperties extends Object
Defines web application firewall policy properties.
  • Constructor Details

    • WebApplicationFirewallPolicyProperties

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

    • policySettings

      public PolicySettings policySettings()
      Get the policySettings property: Describes settings for the policy.
      Returns:
      the policySettings value.
    • withPolicySettings

      public WebApplicationFirewallPolicyProperties withPolicySettings(PolicySettings policySettings)
      Set the policySettings property: Describes settings for the policy.
      Parameters:
      policySettings - the policySettings value to set.
      Returns:
      the WebApplicationFirewallPolicyProperties object itself.
    • customRules

      public CustomRuleList customRules()
      Get the customRules property: Describes custom rules inside the policy.
      Returns:
      the customRules value.
    • withCustomRules

      public WebApplicationFirewallPolicyProperties withCustomRules(CustomRuleList customRules)
      Set the customRules property: Describes custom rules inside the policy.
      Parameters:
      customRules - the customRules value to set.
      Returns:
      the WebApplicationFirewallPolicyProperties object itself.
    • managedRules

      public ManagedRuleSetList managedRules()
      Get the managedRules property: Describes managed rules inside the policy.
      Returns:
      the managedRules value.
    • withManagedRules

      public WebApplicationFirewallPolicyProperties withManagedRules(ManagedRuleSetList managedRules)
      Set the managedRules property: Describes managed rules inside the policy.
      Parameters:
      managedRules - the managedRules value to set.
      Returns:
      the WebApplicationFirewallPolicyProperties object itself.
    • frontendEndpointLinks

      public List<FrontendEndpointLink> frontendEndpointLinks()
      Get the frontendEndpointLinks property: Describes Frontend Endpoints associated with this Web Application Firewall policy.
      Returns:
      the frontendEndpointLinks value.
    • routingRuleLinks

      public List<RoutingRuleLink> routingRuleLinks()
      Get the routingRuleLinks property: Describes Routing Rules associated with this Web Application Firewall policy.
      Returns:
      the routingRuleLinks value.
    • securityPolicyLinks

      public List<SecurityPolicyLink> securityPolicyLinks()
      Get the securityPolicyLinks property: Describes Security Policy associated with this Web Application Firewall policy.
      Returns:
      the securityPolicyLinks value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the policy.
      Returns:
      the provisioningState value.
    • resourceState

      public PolicyResourceState resourceState()
      Get the resourceState property: Resource status of the policy.
      Returns:
      the resourceState value.
    • validate

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