Aracılığıyla paylaş


RequestHeaderMatchConditionParameters Class

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

public class RequestHeaderMatchConditionParameters

Defines the parameters for RequestHeader match conditions.

Constructor Summary

Constructor Description
RequestHeaderMatchConditionParameters()

Creates an instance of RequestHeaderMatchConditionParameters class.

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.

RequestHeaderOperator 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.

RequestHeaderMatchConditionParameters withMatchValues(List<String> matchValues)

Set the match value for the condition of the delivery rule.

RequestHeaderMatchConditionParameters withNegateCondition(Boolean negateCondition)

Set describes if this is negate condition or not.

RequestHeaderMatchConditionParameters withOdatatype(String odatatype)

Set the odatatype value.

RequestHeaderMatchConditionParameters withOperator(RequestHeaderOperator operator)

Set describes operator to be matched.

RequestHeaderMatchConditionParameters withSelector(String selector)

Set name of Header to be matched.

RequestHeaderMatchConditionParameters withTransforms(List<Transform> transforms)

Set list of transforms.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

RequestHeaderMatchConditionParameters

public RequestHeaderMatchConditionParameters()

Creates an instance of RequestHeaderMatchConditionParameters class.

Method Details

matchValues

public List matchValues()

Get the match value for the condition of the delivery rule.

Returns:

the matchValues value

negateCondition

public Boolean negateCondition()

Get describes if this is negate condition or not.

Returns:

the negateCondition value

odatatype

public String odatatype()

Get the odatatype value.

Returns:

the odatatype value

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

selector

public String selector()

Get name of Header to be matched.

Returns:

the selector value

transforms

public List transforms()

Get list of transforms.

Returns:

the transforms value

withMatchValues

public RequestHeaderMatchConditionParameters withMatchValues(List matchValues)

Set the match value for the condition of the delivery rule.

Parameters:

matchValues - the matchValues value to set

Returns:

the RequestHeaderMatchConditionParameters object itself.

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.

withOdatatype

public RequestHeaderMatchConditionParameters withOdatatype(String odatatype)

Set the odatatype value.

Parameters:

odatatype - the odatatype value to set

Returns:

the RequestHeaderMatchConditionParameters object itself.

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:

operator - the operator value to set

Returns:

the RequestHeaderMatchConditionParameters object itself.

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.

withTransforms

public RequestHeaderMatchConditionParameters withTransforms(List transforms)

Set list of transforms.

Parameters:

transforms - the transforms value to set

Returns:

the RequestHeaderMatchConditionParameters object itself.

Applies to