Class RequestHeaderMatchConditionParameters

java.lang.Object
com.microsoft.azure.management.cdn.RequestHeaderMatchConditionParameters

public class RequestHeaderMatchConditionParameters extends Object
Defines the parameters for RequestHeader match conditions.
  • Constructor Details

    • RequestHeaderMatchConditionParameters

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

    • odatatype

      public String odatatype()
      Get the odatatype value.
      Returns:
      the odatatype value
    • withOdatatype

      public RequestHeaderMatchConditionParameters withOdatatype(String odatatype)
      Set the odatatype value.
      Parameters:
      odatatype - the odatatype value to set
      Returns:
      the RequestHeaderMatchConditionParameters object itself.
    • selector

      public String selector()
      Get name of Header to be matched.
      Returns:
      the selector value
    • withSelector

      public RequestHeaderMatchConditionParameters withSelector(String selector)
      Set name of Header to be matched.
      Parameters:
      selector - the selector value to set
      Returns:
      the RequestHeaderMatchConditionParameters object itself.
    • operator

      public RequestHeaderOperator operator()
      Get describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual', 'RegEx'.
      Returns:
      the operator value
    • withOperator

      Set describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual', 'RegEx'.
      Parameters:
      operator - the operator value to set
      Returns:
      the RequestHeaderMatchConditionParameters object itself.
    • negateCondition

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

      public RequestHeaderMatchConditionParameters withNegateCondition(Boolean negateCondition)
      Set describes if this is negate condition or not.
      Parameters:
      negateCondition - the negateCondition value to set
      Returns:
      the RequestHeaderMatchConditionParameters object itself.
    • matchValues

      public List<String> matchValues()
      Get the match value for the condition of the delivery rule.
      Returns:
      the matchValues value
    • withMatchValues

      public RequestHeaderMatchConditionParameters withMatchValues(List<String> matchValues)
      Set the match value for the condition of the delivery rule.
      Parameters:
      matchValues - the matchValues value to set
      Returns:
      the RequestHeaderMatchConditionParameters object itself.
    • transforms

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

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