Class ManagedRuleExclusion

java.lang.Object
com.azure.resourcemanager.frontdoor.models.ManagedRuleExclusion

public final class ManagedRuleExclusion extends Object
Exclude variables from managed rule evaluation.
  • Constructor Details

    • ManagedRuleExclusion

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

    • matchVariable

      public ManagedRuleExclusionMatchVariable matchVariable()
      Get the matchVariable property: The variable type to be excluded.
      Returns:
      the matchVariable value.
    • withMatchVariable

      public ManagedRuleExclusion withMatchVariable(ManagedRuleExclusionMatchVariable matchVariable)
      Set the matchVariable property: The variable type to be excluded.
      Parameters:
      matchVariable - the matchVariable value to set.
      Returns:
      the ManagedRuleExclusion object itself.
    • selectorMatchOperator

      public ManagedRuleExclusionSelectorMatchOperator selectorMatchOperator()
      Get the selectorMatchOperator property: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
      Returns:
      the selectorMatchOperator value.
    • withSelectorMatchOperator

      public ManagedRuleExclusion withSelectorMatchOperator(ManagedRuleExclusionSelectorMatchOperator selectorMatchOperator)
      Set the selectorMatchOperator property: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
      Parameters:
      selectorMatchOperator - the selectorMatchOperator value to set.
      Returns:
      the ManagedRuleExclusion object itself.
    • selector

      public String selector()
      Get the selector property: Selector value for which elements in the collection this exclusion applies to.
      Returns:
      the selector value.
    • withSelector

      public ManagedRuleExclusion withSelector(String selector)
      Set the selector property: Selector value for which elements in the collection this exclusion applies to.
      Parameters:
      selector - the selector value to set.
      Returns:
      the ManagedRuleExclusion object itself.
    • validate

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