RulesEngineMatchCondition Class

  • java.lang.Object
    • com.azure.resourcemanager.frontdoor.models.RulesEngineMatchCondition

public final class RulesEngineMatchCondition

Define a match condition.

Constructor Summary

Constructor Description
RulesEngineMatchCondition()

Creates an instance of RulesEngineMatchCondition class.

Method Summary

Modifier and Type Method and Description
Boolean negateCondition()

Get the negateCondition property: Describes if this is negate condition or not.

List<String> rulesEngineMatchValue()

Get the rulesEngineMatchValue property: Match values to match against.

RulesEngineMatchVariable rulesEngineMatchVariable()

Get the rulesEngineMatchVariable property: Match Variable.

RulesEngineOperator rulesEngineOperator()

Get the rulesEngineOperator property: Describes operator to apply to the match condition.

String selector()

Get the selector property: Name of selector in RequestHeader or RequestBody to be matched.

List<Transform> transforms()

Get the transforms property: List of transforms.

void validate()

Validates the instance.

RulesEngineMatchCondition withNegateCondition(Boolean negateCondition)

Set the negateCondition property: Describes if this is negate condition or not.

RulesEngineMatchCondition withRulesEngineMatchValue(List<String> rulesEngineMatchValue)

Set the rulesEngineMatchValue property: Match values to match against.

RulesEngineMatchCondition withRulesEngineMatchVariable(RulesEngineMatchVariable rulesEngineMatchVariable)

Set the rulesEngineMatchVariable property: Match Variable.

RulesEngineMatchCondition withRulesEngineOperator(RulesEngineOperator rulesEngineOperator)

Set the rulesEngineOperator property: Describes operator to apply to the match condition.

RulesEngineMatchCondition withSelector(String selector)

Set the selector property: Name of selector in RequestHeader or RequestBody to be matched.

RulesEngineMatchCondition 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:

the negateCondition value.

rulesEngineMatchValue

public List rulesEngineMatchValue()

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:

the rulesEngineMatchValue value.

rulesEngineMatchVariable

public RulesEngineMatchVariable rulesEngineMatchVariable()

Get the rulesEngineMatchVariable property: Match Variable.

Returns:

the rulesEngineMatchVariable value.

rulesEngineOperator

public RulesEngineOperator rulesEngineOperator()

Get the rulesEngineOperator property: Describes operator to apply to the match condition.

Returns:

the rulesEngineOperator value.

selector

public String selector()

Get the selector property: Name of selector in RequestHeader or RequestBody to be matched.

Returns:

the selector value.

transforms

public List transforms()

Get the transforms property: List of transforms.

Returns:

the transforms value.

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:

negateCondition - the negateCondition value to set.

Returns:

the RulesEngineMatchCondition object itself.

withRulesEngineMatchValue

public RulesEngineMatchCondition withRulesEngineMatchValue(List rulesEngineMatchValue)

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:

rulesEngineMatchValue - the rulesEngineMatchValue value to set.

Returns:

the RulesEngineMatchCondition object itself.

withRulesEngineMatchVariable

public RulesEngineMatchCondition withRulesEngineMatchVariable(RulesEngineMatchVariable rulesEngineMatchVariable)

Set the rulesEngineMatchVariable property: Match Variable.

Parameters:

rulesEngineMatchVariable - the rulesEngineMatchVariable value to set.

Returns:

the RulesEngineMatchCondition object itself.

withRulesEngineOperator

public RulesEngineMatchCondition withRulesEngineOperator(RulesEngineOperator rulesEngineOperator)

Set the rulesEngineOperator property: Describes operator to apply to the match condition.

Parameters:

rulesEngineOperator - the rulesEngineOperator value to set.

Returns:

the RulesEngineMatchCondition object itself.

withSelector

public RulesEngineMatchCondition withSelector(String selector)

Set the selector property: Name of selector in RequestHeader or RequestBody to be matched.

Parameters:

selector - the selector value to set.

Returns:

the RulesEngineMatchCondition object itself.

withTransforms

public RulesEngineMatchCondition withTransforms(List transforms)

Set the transforms property: List of transforms.

Parameters:

transforms - the transforms value to set.

Returns:

the RulesEngineMatchCondition object itself.

Applies to