Class SocketAddrMatchConditionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.SocketAddrMatchConditionParameters
-
public final class SocketAddrMatchConditionParameters extends Object
Defines the parameters for SocketAddress match conditions.
-
-
Constructor Summary
Constructors Constructor Description SocketAddrMatchConditionParameters()Creates an instance of SocketAddrMatchConditionParameters 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.SocketAddrOperatoroperator()Get the operator property: Describes operator to be matched.List<Transform>transforms()Get the transforms property: List of transforms.StringtypeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.SocketAddrMatchConditionParameterswithMatchValues(List<String> matchValues)Set the matchValues property: The match value for the condition of the delivery rule.SocketAddrMatchConditionParameterswithNegateCondition(Boolean negateCondition)Set the negateCondition property: Describes if this is negate condition or not.SocketAddrMatchConditionParameterswithOperator(SocketAddrOperator operator)Set the operator property: Describes operator to be matched.SocketAddrMatchConditionParameterswithTransforms(List<Transform> transforms)Set the transforms property: List of transforms.SocketAddrMatchConditionParameterswithTypeName(String typeName)Set the typeName property: The typeName property.
-
-
-
Method Detail
-
typeName
public String typeName()
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
public SocketAddrMatchConditionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the SocketAddrMatchConditionParameters object itself.
-
operator
public SocketAddrOperator operator()
Get the operator property: Describes operator to be matched.- Returns:
- the operator value.
-
withOperator
public SocketAddrMatchConditionParameters withOperator(SocketAddrOperator operator)
Set the operator property: Describes operator to be matched.- Parameters:
operator- the operator value to set.- Returns:
- the SocketAddrMatchConditionParameters object itself.
-
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.- Returns:
- the negateCondition value.
-
withNegateCondition
public SocketAddrMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.- Parameters:
negateCondition- the negateCondition value to set.- Returns:
- the SocketAddrMatchConditionParameters 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 SocketAddrMatchConditionParameters 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 SocketAddrMatchConditionParameters object itself.
-
transforms
public List<Transform> transforms()
Get the transforms property: List of transforms.- Returns:
- the transforms value.
-
withTransforms
public SocketAddrMatchConditionParameters withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms.- Parameters:
transforms- the transforms value to set.- Returns:
- the SocketAddrMatchConditionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-