Class CookiesMatchConditionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.CookiesMatchConditionParameters
-
public final class CookiesMatchConditionParameters extends Object
Defines the parameters for Cookies match conditions.
-
-
Constructor Summary
Constructors Constructor Description CookiesMatchConditionParameters()Creates an instance of CookiesMatchConditionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>matchValues()Get the matchValues property: The match value for the condition of the delivery rule.BooleannegateCondition()Get the negateCondition property: Describes if this is negate condition or not.StringodataType()Get the odataType property: The @odata.type property.CookiesOperatoroperator()Get the operator property: Describes operator to be matched.Stringselector()Get the selector property: Name of Cookies to be matched.List<Transform>transforms()Get the transforms property: List of transforms.voidvalidate()Validates the instance.CookiesMatchConditionParameterswithMatchValues(List<String> matchValues)Set the matchValues property: The match value for the condition of the delivery rule.CookiesMatchConditionParameterswithNegateCondition(Boolean negateCondition)Set the negateCondition property: Describes if this is negate condition or not.CookiesMatchConditionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.CookiesMatchConditionParameterswithOperator(CookiesOperator operator)Set the operator property: Describes operator to be matched.CookiesMatchConditionParameterswithSelector(String selector)Set the selector property: Name of Cookies to be matched.CookiesMatchConditionParameterswithTransforms(List<Transform> transforms)Set the transforms property: List of transforms.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public CookiesMatchConditionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
selector
public String selector()
Get the selector property: Name of Cookies to be matched.- Returns:
- the selector value.
-
withSelector
public CookiesMatchConditionParameters withSelector(String selector)
Set the selector property: Name of Cookies to be matched.- Parameters:
selector- the selector value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
operator
public CookiesOperator operator()
Get the operator property: Describes operator to be matched.- Returns:
- the operator value.
-
withOperator
public CookiesMatchConditionParameters withOperator(CookiesOperator operator)
Set the operator property: Describes operator to be matched.- Parameters:
operator- the operator value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.- Returns:
- the negateCondition value.
-
withNegateCondition
public CookiesMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.- Parameters:
negateCondition- the negateCondition value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
matchValues
public List<String> matchValues()
Get the matchValues property: The match value for the condition of the delivery rule.- Returns:
- the matchValues value.
-
withMatchValues
public CookiesMatchConditionParameters withMatchValues(List<String> matchValues)
Set the matchValues property: The match value for the condition of the delivery rule.- Parameters:
matchValues- the matchValues value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
transforms
public List<Transform> transforms()
Get the transforms property: List of transforms.- Returns:
- the transforms value.
-
withTransforms
public CookiesMatchConditionParameters withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms.- Parameters:
transforms- the transforms value to set.- Returns:
- the CookiesMatchConditionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-