Class RemoteAddressMatchConditionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.RemoteAddressMatchConditionParameters
-
public final class RemoteAddressMatchConditionParameters extends Object
Defines the parameters for RemoteAddress match conditions.
-
-
Constructor Summary
Constructors Constructor Description RemoteAddressMatchConditionParameters()Creates an instance of RemoteAddressMatchConditionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>matchValues()Get the matchValues property: Match values to match against.BooleannegateCondition()Get the negateCondition property: Describes if this is negate condition or not.StringodataType()Get the odataType property: The @odata.type property.RemoteAddressOperatoroperator()Get the operator property: Describes operator to be matched.List<Transform>transforms()Get the transforms property: List of transforms.voidvalidate()Validates the instance.RemoteAddressMatchConditionParameterswithMatchValues(List<String> matchValues)Set the matchValues property: Match values to match against.RemoteAddressMatchConditionParameterswithNegateCondition(Boolean negateCondition)Set the negateCondition property: Describes if this is negate condition or not.RemoteAddressMatchConditionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.RemoteAddressMatchConditionParameterswithOperator(RemoteAddressOperator operator)Set the operator property: Describes operator to be matched.RemoteAddressMatchConditionParameterswithTransforms(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 RemoteAddressMatchConditionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType value to set.- Returns:
- the RemoteAddressMatchConditionParameters object itself.
-
operator
public RemoteAddressOperator operator()
Get the operator property: Describes operator to be matched.- Returns:
- the operator value.
-
withOperator
public RemoteAddressMatchConditionParameters withOperator(RemoteAddressOperator operator)
Set the operator property: Describes operator to be matched.- Parameters:
operator- the operator value to set.- Returns:
- the RemoteAddressMatchConditionParameters object itself.
-
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.- Returns:
- the negateCondition value.
-
withNegateCondition
public RemoteAddressMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.- Parameters:
negateCondition- the negateCondition value to set.- Returns:
- the RemoteAddressMatchConditionParameters object itself.
-
matchValues
public List<String> matchValues()
Get the matchValues property: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.- Returns:
- the matchValues value.
-
withMatchValues
public RemoteAddressMatchConditionParameters withMatchValues(List<String> matchValues)
Set the matchValues property: Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.- Parameters:
matchValues- the matchValues value to set.- Returns:
- the RemoteAddressMatchConditionParameters object itself.
-
transforms
public List<Transform> transforms()
Get the transforms property: List of transforms.- Returns:
- the transforms value.
-
withTransforms
public RemoteAddressMatchConditionParameters withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms.- Parameters:
transforms- the transforms value to set.- Returns:
- the RemoteAddressMatchConditionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-