RequestMethodMatchConditionParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. RequestMethodMatchConditionParameters
- com.
Implements
public final class RequestMethodMatchConditionParameters
implements JsonSerializable<RequestMethodMatchConditionParameters>
Defines the parameters for RequestMethod match conditions.
Constructor Summary
| Constructor | Description |
|---|---|
| RequestMethodMatchConditionParameters() |
Creates an instance of Request |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Request |
fromJson(JsonReader jsonReader)
Reads an instance of Request |
|
List<Request |
matchValues()
Get the match |
| Boolean |
negateCondition()
Get the negate |
|
Request |
operator()
Get the operator property: Describes operator 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. |
|
Request |
withMatchValues(List<RequestMethodMatchConditionParametersMatchValuesItem> matchValues)
Set the match |
|
Request |
withNegateCondition(Boolean negateCondition)
Set the negate |
|
Request |
withOperator(RequestMethodOperator operator)
Set the operator property: Describes operator to be matched. |
|
Request |
withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms. |
|
Request |
withTypeName(String typeName)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
RequestMethodMatchConditionParameters
public RequestMethodMatchConditionParameters()
Creates an instance of RequestMethodMatchConditionParameters class.
Method Details
fromJson
public static RequestMethodMatchConditionParameters fromJson(JsonReader jsonReader)
Reads an instance of RequestMethodMatchConditionParameters from the JsonReader.
Parameters:
Returns:
Throws:
matchValues
public List<RequestMethodMatchConditionParametersMatchValuesItem> 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 RequestMethodOperator operator()
Get the operator property: Describes operator 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 RequestMethodMatchConditionParameters withMatchValues(List<RequestMethodMatchConditionParametersMatchValuesItem> matchValues)
Set the matchValues property: The match value for the condition of the delivery rule.
Parameters:
Returns:
withNegateCondition
public RequestMethodMatchConditionParameters withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.
Parameters:
Returns:
withOperator
public RequestMethodMatchConditionParameters withOperator(RequestMethodOperator operator)
Set the operator property: Describes operator to be matched.
Parameters:
Returns:
withTransforms
public RequestMethodMatchConditionParameters withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms.
Parameters:
Returns:
withTypeName
public RequestMethodMatchConditionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.
Parameters:
Returns: