RequestHeaderMatchConditionParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. RequestHeaderMatchConditionParameters
- com.
public class RequestHeaderMatchConditionParameters
Defines the parameters for RequestHeader match conditions.
Constructor Summary
Constructor | Description |
---|---|
RequestHeaderMatchConditionParameters() |
Creates an instance of Request |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
matchValues()
Get the match value for the condition of the delivery rule. |
java.lang.Boolean |
negateCondition()
Get describes if this is negate condition or not. |
java.lang.String |
odatatype()
Get the odatatype value. |
Request |
operator()
Get describes operator to be matched. |
java.lang.String |
selector()
Get name of Header to be matched. |
java.util.List<Transform> |
transforms()
Get list of transforms. |
Request |
withMatchValues(List<String> matchValues)
Set the match value for the condition of the delivery rule. |
Request |
withNegateCondition(Boolean negateCondition)
Set describes if this is negate condition or not. |
Request |
withOdatatype(String odatatype)
Set the odatatype value. |
Request |
withOperator(RequestHeaderOperator operator)
Set describes operator to be matched. |
Request |
withSelector(String selector)
Set name of Header to be matched. |
Request |
withTransforms(List<Transform> transforms)
Set list of transforms. |
Methods inherited from java.lang.Object
Constructor Details
RequestHeaderMatchConditionParameters
public RequestHeaderMatchConditionParameters()
Creates an instance of RequestHeaderMatchConditionParameters class.
Method Details
matchValues
public List
Get the match value for the condition of the delivery rule.
Returns:
negateCondition
public Boolean negateCondition()
Get describes if this is negate condition or not.
Returns:
odatatype
public String odatatype()
Get the odatatype value.
Returns:
operator
public RequestHeaderOperator operator()
Get describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual', 'RegEx'.
Returns:
selector
public String selector()
Get name of Header to be matched.
Returns:
transforms
public List
Get list of transforms.
Returns:
withMatchValues
public RequestHeaderMatchConditionParameters withMatchValues(List
Set the match value for the condition of the delivery rule.
Parameters:
Returns:
withNegateCondition
public RequestHeaderMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set describes if this is negate condition or not.
Parameters:
Returns:
withOdatatype
public RequestHeaderMatchConditionParameters withOdatatype(String odatatype)
Set the odatatype value.
Parameters:
Returns:
withOperator
public RequestHeaderMatchConditionParameters withOperator(RequestHeaderOperator operator)
Set describes operator to be matched. Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual', 'RegEx'.
Parameters:
Returns:
withSelector
public RequestHeaderMatchConditionParameters withSelector(String selector)
Set name of Header to be matched.
Parameters:
Returns:
withTransforms
public RequestHeaderMatchConditionParameters withTransforms(List
Set list of transforms.
Parameters:
Returns:
Applies to
Azure SDK for Java