public class MatchCondition extends Object
| Constructor and Description |
|---|
MatchCondition() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
matchValues()
Get match value.
|
List<MatchVariable> |
matchVariables()
Get list of match variables.
|
Boolean |
negationConditon()
Get whether this is negate condition or not.
|
WebApplicationFirewallOperator |
operator()
Get the operator to be matched.
|
List<WebApplicationFirewallTransform> |
transforms()
Get list of transforms.
|
MatchCondition |
withMatchValues(List<String> matchValues)
Set match value.
|
MatchCondition |
withMatchVariables(List<MatchVariable> matchVariables)
Set list of match variables.
|
MatchCondition |
withNegationConditon(Boolean negationConditon)
Set whether this is negate condition or not.
|
MatchCondition |
withOperator(WebApplicationFirewallOperator operator)
Set the operator to be matched.
|
MatchCondition |
withTransforms(List<WebApplicationFirewallTransform> transforms)
Set list of transforms.
|
public List<MatchVariable> matchVariables()
public MatchCondition withMatchVariables(List<MatchVariable> matchVariables)
matchVariables - the matchVariables value to setpublic WebApplicationFirewallOperator operator()
public MatchCondition withOperator(WebApplicationFirewallOperator operator)
operator - the operator value to setpublic Boolean negationConditon()
public MatchCondition withNegationConditon(Boolean negationConditon)
negationConditon - the negationConditon value to setpublic MatchCondition withMatchValues(List<String> matchValues)
matchValues - the matchValues value to setpublic List<WebApplicationFirewallTransform> transforms()
public MatchCondition withTransforms(List<WebApplicationFirewallTransform> transforms)
transforms - the transforms value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/