public final class MatchCondition extends Object
| Constructor and Description |
|---|
MatchCondition() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
matchValue()
Get the matchValue property: List of possible match values.
|
MatchVariable |
matchVariable()
Get the matchVariable property: Match variable to compare against.
|
Boolean |
negateCondition()
Get the negateCondition property: Describes if the result of this condition should be negated.
|
Operator |
operator()
Get the operator property: Describes operator to be matched.
|
String |
selector()
Get the selector property: Selector can used to match a specific key for QueryString, Cookies, RequestHeader or
PostArgs.
|
List<TransformType> |
transforms()
Get the transforms property: List of transforms.
|
void |
validate()
Validates the instance.
|
MatchCondition |
withMatchValue(List<String> matchValue)
Set the matchValue property: List of possible match values.
|
MatchCondition |
withMatchVariable(MatchVariable matchVariable)
Set the matchVariable property: Match variable to compare against.
|
MatchCondition |
withNegateCondition(Boolean negateCondition)
Set the negateCondition property: Describes if the result of this condition should be negated.
|
MatchCondition |
withOperator(Operator operator)
Set the operator property: Describes operator to be matched.
|
MatchCondition |
withSelector(String selector)
Set the selector property: Selector can used to match a specific key for QueryString, Cookies, RequestHeader or
PostArgs.
|
MatchCondition |
withTransforms(List<TransformType> transforms)
Set the transforms property: List of transforms.
|
public MatchVariable matchVariable()
public MatchCondition withMatchVariable(MatchVariable matchVariable)
matchVariable - the matchVariable value to set.public String selector()
public MatchCondition withSelector(String selector)
selector - the selector value to set.public Operator operator()
public MatchCondition withOperator(Operator operator)
operator - the operator value to set.public Boolean negateCondition()
public MatchCondition withNegateCondition(Boolean negateCondition)
negateCondition - the negateCondition value to set.public List<String> matchValue()
public MatchCondition withMatchValue(List<String> matchValue)
matchValue - the matchValue value to set.public List<TransformType> transforms()
public MatchCondition withTransforms(List<TransformType> transforms)
transforms - the transforms value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.