Class MatchCondition
java.lang.Object
com.microsoft.azure.management.network.MatchCondition
Define match conditions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet match value.Get list of match variables.Get whether this is negate condition or not.operator()
Get the operator to be matched.Get list of transforms.withMatchValues
(List<String> matchValues) Set match value.withMatchVariables
(List<MatchVariable> matchVariables) Set list of match variables.withNegationConditon
(Boolean negationConditon) Set whether this is negate condition or not.withOperator
(WebApplicationFirewallOperator operator) Set the operator to be matched.withTransforms
(List<WebApplicationFirewallTransform> transforms) Set list of transforms.
-
Constructor Details
-
MatchCondition
public MatchCondition()
-
-
Method Details
-
matchVariables
Get list of match variables.- Returns:
- the matchVariables value
-
withMatchVariables
Set list of match variables.- Parameters:
matchVariables
- the matchVariables value to set- Returns:
- the MatchCondition object itself.
-
operator
Get the operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex', 'GeoMatch'.- Returns:
- the operator value
-
withOperator
Set the operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex', 'GeoMatch'.- Parameters:
operator
- the operator value to set- Returns:
- the MatchCondition object itself.
-
negationConditon
Get whether this is negate condition or not.- Returns:
- the negationConditon value
-
withNegationConditon
Set whether this is negate condition or not.- Parameters:
negationConditon
- the negationConditon value to set- Returns:
- the MatchCondition object itself.
-
matchValues
Get match value.- Returns:
- the matchValues value
-
withMatchValues
Set match value.- Parameters:
matchValues
- the matchValues value to set- Returns:
- the MatchCondition object itself.
-
transforms
Get list of transforms.- Returns:
- the transforms value
-
withTransforms
Set list of transforms.- Parameters:
transforms
- the transforms value to set- Returns:
- the MatchCondition object itself.
-