Class RulesEngineMatchCondition

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

public final class RulesEngineMatchCondition extends Object
Define a match condition.
  • Constructor Details

    • RulesEngineMatchCondition

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

    • rulesEngineMatchVariable

      public RulesEngineMatchVariable rulesEngineMatchVariable()
      Get the rulesEngineMatchVariable property: Match Variable.
      Returns:
      the rulesEngineMatchVariable value.
    • withRulesEngineMatchVariable

      public RulesEngineMatchCondition withRulesEngineMatchVariable(RulesEngineMatchVariable rulesEngineMatchVariable)
      Set the rulesEngineMatchVariable property: Match Variable.
      Parameters:
      rulesEngineMatchVariable - the rulesEngineMatchVariable value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • selector

      public String selector()
      Get the selector property: Name of selector in RequestHeader or RequestBody to be matched.
      Returns:
      the selector value.
    • withSelector

      public RulesEngineMatchCondition withSelector(String selector)
      Set the selector property: Name of selector in RequestHeader or RequestBody to be matched.
      Parameters:
      selector - the selector value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • rulesEngineOperator

      public RulesEngineOperator rulesEngineOperator()
      Get the rulesEngineOperator property: Describes operator to apply to the match condition.
      Returns:
      the rulesEngineOperator value.
    • withRulesEngineOperator

      public RulesEngineMatchCondition withRulesEngineOperator(RulesEngineOperator rulesEngineOperator)
      Set the rulesEngineOperator property: Describes operator to apply to the match condition.
      Parameters:
      rulesEngineOperator - the rulesEngineOperator value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • negateCondition

      public Boolean negateCondition()
      Get the negateCondition property: Describes if this is negate condition or not.
      Returns:
      the negateCondition value.
    • withNegateCondition

      public RulesEngineMatchCondition withNegateCondition(Boolean negateCondition)
      Set the negateCondition property: Describes if this is negate condition or not.
      Parameters:
      negateCondition - the negateCondition value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • rulesEngineMatchValue

      public List<String> rulesEngineMatchValue()
      Get the rulesEngineMatchValue property: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
      Returns:
      the rulesEngineMatchValue value.
    • withRulesEngineMatchValue

      public RulesEngineMatchCondition withRulesEngineMatchValue(List<String> rulesEngineMatchValue)
      Set the rulesEngineMatchValue property: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
      Parameters:
      rulesEngineMatchValue - the rulesEngineMatchValue value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • transforms

      public List<Transform> transforms()
      Get the transforms property: List of transforms.
      Returns:
      the transforms value.
    • withTransforms

      public RulesEngineMatchCondition withTransforms(List<Transform> transforms)
      Set the transforms property: List of transforms.
      Parameters:
      transforms - the transforms value to set.
      Returns:
      the RulesEngineMatchCondition object itself.
    • validate

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