Class RequestSchemeMatchConditionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.RequestSchemeMatchConditionParameters
-
public final class RequestSchemeMatchConditionParameters extends Object
Defines the parameters for RequestScheme match conditions.
-
-
Constructor Summary
Constructors Constructor Description RequestSchemeMatchConditionParameters()Creates an instance of RequestSchemeMatchConditionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RequestSchemeMatchConditionParametersMatchValuesItem>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.Stringoperator()Get the operator property: Describes operator to be matched.voidvalidate()Validates the instance.RequestSchemeMatchConditionParameterswithMatchValues(List<RequestSchemeMatchConditionParametersMatchValuesItem> matchValues)Set the matchValues property: The match value for the condition of the delivery rule.RequestSchemeMatchConditionParameterswithNegateCondition(Boolean negateCondition)Set the negateCondition property: Describes if this is negate condition or not.RequestSchemeMatchConditionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.RequestSchemeMatchConditionParameterswithOperator(String operator)Set the operator property: Describes operator to be matched.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public RequestSchemeMatchConditionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType value to set.- Returns:
- the RequestSchemeMatchConditionParameters object itself.
-
operator
public String operator()
Get the operator property: Describes operator to be matched.- Returns:
- the operator value.
-
withOperator
public RequestSchemeMatchConditionParameters withOperator(String operator)
Set the operator property: Describes operator to be matched.- Parameters:
operator- the operator value to set.- Returns:
- the RequestSchemeMatchConditionParameters object itself.
-
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.- Returns:
- the negateCondition value.
-
withNegateCondition
public RequestSchemeMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.- Parameters:
negateCondition- the negateCondition value to set.- Returns:
- the RequestSchemeMatchConditionParameters object itself.
-
matchValues
public List<RequestSchemeMatchConditionParametersMatchValuesItem> matchValues()
Get the matchValues property: The match value for the condition of the delivery rule.- Returns:
- the matchValues value.
-
withMatchValues
public RequestSchemeMatchConditionParameters withMatchValues(List<RequestSchemeMatchConditionParametersMatchValuesItem> matchValues)
Set the matchValues property: The match value for the condition of the delivery rule.- Parameters:
matchValues- the matchValues value to set.- Returns:
- the RequestSchemeMatchConditionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-