Class MatchCondition

java.lang.Object
com.microsoft.azure.management.network.MatchCondition

public class MatchCondition extends Object
Define match conditions.
  • Constructor Details

    • MatchCondition

      public MatchCondition()
  • Method Details

    • matchVariables

      public List<MatchVariable> matchVariables()
      Get list of match variables.
      Returns:
      the matchVariables value
    • withMatchVariables

      public MatchCondition withMatchVariables(List<MatchVariable> matchVariables)
      Set list of match variables.
      Parameters:
      matchVariables - the matchVariables value to set
      Returns:
      the MatchCondition object itself.
    • operator

      public WebApplicationFirewallOperator operator()
      Get the operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex', 'GeoMatch'.
      Returns:
      the operator value
    • withOperator

      public MatchCondition withOperator(WebApplicationFirewallOperator operator)
      Set the operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex', 'GeoMatch'.
      Parameters:
      operator - the operator value to set
      Returns:
      the MatchCondition object itself.
    • negationConditon

      public Boolean negationConditon()
      Get whether this is negate condition or not.
      Returns:
      the negationConditon value
    • withNegationConditon

      public MatchCondition withNegationConditon(Boolean negationConditon)
      Set whether this is negate condition or not.
      Parameters:
      negationConditon - the negationConditon value to set
      Returns:
      the MatchCondition object itself.
    • matchValues

      public List<String> matchValues()
      Get match value.
      Returns:
      the matchValues value
    • withMatchValues

      public MatchCondition withMatchValues(List<String> matchValues)
      Set match value.
      Parameters:
      matchValues - the matchValues value to set
      Returns:
      the MatchCondition object itself.
    • transforms

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

      public MatchCondition withTransforms(List<WebApplicationFirewallTransform> transforms)
      Set list of transforms.
      Parameters:
      transforms - the transforms value to set
      Returns:
      the MatchCondition object itself.