CookiesMatchConditionParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CookiesMatchConditionParameters
- com.
Implements
public final class CookiesMatchConditionParameters
implements JsonSerializable<CookiesMatchConditionParameters>
Defines the parameters for Cookies match conditions.
Constructor Summary
| Constructor | Description |
|---|---|
| CookiesMatchConditionParameters() |
Creates an instance of Cookies |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cookies |
fromJson(JsonReader jsonReader)
Reads an instance of Cookies |
| List<String> |
matchValues()
Get the match |
| Boolean |
negateCondition()
Get the negate |
|
Cookies |
operator()
Get the operator property: Describes operator to be matched. |
| String |
selector()
Get the selector property: Name of Cookies to be matched. |
|
Json |
toJson(JsonWriter jsonWriter) |
| List<Transform> |
transforms()
Get the transforms property: List of transforms. |
| String |
typeName()
Get the type |
| void |
validate()
Validates the instance. |
|
Cookies |
withMatchValues(List<String> matchValues)
Set the match |
|
Cookies |
withNegateCondition(Boolean negateCondition)
Set the negate |
|
Cookies |
withOperator(CookiesOperator operator)
Set the operator property: Describes operator to be matched. |
|
Cookies |
withSelector(String selector)
Set the selector property: Name of Cookies to be matched. |
|
Cookies |
withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms. |
|
Cookies |
withTypeName(String typeName)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
CookiesMatchConditionParameters
public CookiesMatchConditionParameters()
Creates an instance of CookiesMatchConditionParameters class.
Method Details
fromJson
public static CookiesMatchConditionParameters fromJson(JsonReader jsonReader)
Reads an instance of CookiesMatchConditionParameters from the JsonReader.
Parameters:
Returns:
Throws:
matchValues
public List<String> matchValues()
Get the matchValues property: The match value for the condition of the delivery rule.
Returns:
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.
Returns:
operator
public CookiesOperator operator()
Get the operator property: Describes operator to be matched.
Returns:
selector
public String selector()
Get the selector property: Name of Cookies to be matched.
Returns:
toJson
transforms
public List<Transform> transforms()
Get the transforms property: List of transforms.
Returns:
typeName
public String typeName()
Get the typeName property: The typeName property.
Returns:
validate
public void validate()
Validates the instance.
withMatchValues
public CookiesMatchConditionParameters withMatchValues(List<String> matchValues)
Set the matchValues property: The match value for the condition of the delivery rule.
Parameters:
Returns:
withNegateCondition
public CookiesMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.
Parameters:
Returns:
withOperator
public CookiesMatchConditionParameters withOperator(CookiesOperator operator)
Set the operator property: Describes operator to be matched.
Parameters:
Returns:
withSelector
public CookiesMatchConditionParameters withSelector(String selector)
Set the selector property: Name of Cookies to be matched.
Parameters:
Returns:
withTransforms
public CookiesMatchConditionParameters withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms.
Parameters:
Returns:
withTypeName
public CookiesMatchConditionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.
Parameters:
Returns: