RulesEngineMatchCondition Class
- java.
lang. Object - com.
azure. resourcemanager. frontdoor. models. RulesEngineMatchCondition
- com.
public final class RulesEngineMatchCondition
Define a match condition.
Constructor Summary
Constructor | Description |
---|---|
RulesEngineMatchCondition() |
Creates an instance of Rules |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
negateCondition()
Get the negate |
List<String> |
rulesEngineMatchValue()
Get the rules |
Rules |
rulesEngineMatchVariable()
Get the rules |
Rules |
rulesEngineOperator()
Get the rules |
String |
selector()
Get the selector property: Name of selector in Request |
List<Transform> |
transforms()
Get the transforms property: List of transforms. |
void |
validate()
Validates the instance. |
Rules |
withNegateCondition(Boolean negateCondition)
Set the negate |
Rules |
withRulesEngineMatchValue(List<String> rulesEngineMatchValue)
Set the rules |
Rules |
withRulesEngineMatchVariable(RulesEngineMatchVariable rulesEngineMatchVariable)
Set the rules |
Rules |
withRulesEngineOperator(RulesEngineOperator rulesEngineOperator)
Set the rules |
Rules |
withSelector(String selector)
Set the selector property: Name of selector in Request |
Rules |
withTransforms(List<Transform> transforms)
Set the transforms property: List of transforms. |
Methods inherited from java.lang.Object
Constructor Details
RulesEngineMatchCondition
public RulesEngineMatchCondition()
Creates an instance of RulesEngineMatchCondition class.
Method Details
negateCondition
public Boolean negateCondition()
Get the negateCondition property: Describes if this is negate condition or not.
Returns:
rulesEngineMatchValue
public List
Get the rulesEngineMatchValue 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:
rulesEngineMatchVariable
public RulesEngineMatchVariable rulesEngineMatchVariable()
Get the rulesEngineMatchVariable property: Match Variable.
Returns:
rulesEngineOperator
public RulesEngineOperator rulesEngineOperator()
Get the rulesEngineOperator property: Describes operator to apply to the match condition.
Returns:
selector
public String selector()
Get the selector property: Name of selector in RequestHeader or RequestBody to be matched.
Returns:
transforms
public List
Get the transforms property: List of transforms.
Returns:
validate
public void validate()
Validates the instance.
withNegateCondition
public RulesEngineMatchCondition withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if this is negate condition or not.
Parameters:
Returns:
withRulesEngineMatchValue
public RulesEngineMatchCondition withRulesEngineMatchValue(List
Set the rulesEngineMatchValue 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:
Returns:
withRulesEngineMatchVariable
public RulesEngineMatchCondition withRulesEngineMatchVariable(RulesEngineMatchVariable rulesEngineMatchVariable)
Set the rulesEngineMatchVariable property: Match Variable.
Parameters:
Returns:
withRulesEngineOperator
public RulesEngineMatchCondition withRulesEngineOperator(RulesEngineOperator rulesEngineOperator)
Set the rulesEngineOperator property: Describes operator to apply to the match condition.
Parameters:
Returns:
withSelector
public RulesEngineMatchCondition withSelector(String selector)
Set the selector property: Name of selector in RequestHeader or RequestBody to be matched.
Parameters:
Returns:
withTransforms
public RulesEngineMatchCondition withTransforms(List
Set the transforms property: List of transforms.
Parameters:
Returns:
Applies to
Azure SDK for Java