public final class MatchCondition extends Object
| Constructor and Description |
|---|
MatchCondition() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
matchValues()
Get the matchValues property: Match value.
|
List<MatchVariable> |
matchVariables()
Get the matchVariables property: List of match variables.
|
Boolean |
negationConditon()
Get the negationConditon property: Whether this is negate condition or not.
|
WebApplicationFirewallOperator |
operator()
Get the operator property: The operator to be matched.
|
List<WebApplicationFirewallTransform> |
transforms()
Get the transforms property: List of transforms.
|
void |
validate()
Validates the instance.
|
MatchCondition |
withMatchValues(List<String> matchValues)
Set the matchValues property: Match value.
|
MatchCondition |
withMatchVariables(List<MatchVariable> matchVariables)
Set the matchVariables property: List of match variables.
|
MatchCondition |
withNegationConditon(Boolean negationConditon)
Set the negationConditon property: Whether this is negate condition or not.
|
MatchCondition |
withOperator(WebApplicationFirewallOperator operator)
Set the operator property: The operator to be matched.
|
MatchCondition |
withTransforms(List<WebApplicationFirewallTransform> transforms)
Set the transforms property: List of transforms.
|
public List<MatchVariable> matchVariables()
public MatchCondition withMatchVariables(List<MatchVariable> matchVariables)
matchVariables - the matchVariables value to set.public WebApplicationFirewallOperator operator()
public MatchCondition withOperator(WebApplicationFirewallOperator operator)
operator - the operator value to set.public Boolean negationConditon()
public MatchCondition withNegationConditon(Boolean negationConditon)
negationConditon - the negationConditon value to set.public List<String> matchValues()
public MatchCondition withMatchValues(List<String> matchValues)
matchValues - the matchValues value to set.public List<WebApplicationFirewallTransform> transforms()
public MatchCondition withTransforms(List<WebApplicationFirewallTransform> 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.