MatchCondition Class

  • java.lang.Object
    • com.microsoft.azure.management.network.MatchCondition

public class MatchCondition

Define match conditions.

Constructor Summary

Constructor Description
MatchCondition()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> matchValues()

Get match value.

java.util.List<MatchVariable> matchVariables()

Get list of match variables.

java.lang.Boolean negationConditon()

Get whether this is negate condition or not.

WebApplicationFirewallOperator operator()

Get the operator to be matched.

java.util.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MatchCondition

public MatchCondition()

Method Details

matchValues

public List matchValues()

Get match value.

Returns:

the matchValues value

matchVariables

public List matchVariables()

Get list of match variables.

Returns:

the matchVariables value

negationConditon

public Boolean negationConditon()

Get whether this is negate condition or not.

Returns:

the negationConditon value

operator

public WebApplicationFirewallOperator 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

transforms

public List transforms()

Get list of transforms.

Returns:

the transforms value

withMatchValues

public MatchCondition withMatchValues(List matchValues)

Set match value.

Parameters:

matchValues - the matchValues value to set

Returns:

the MatchCondition object itself.

withMatchVariables

public MatchCondition withMatchVariables(List matchVariables)

Set list of match variables.

Parameters:

matchVariables - the matchVariables value to set

Returns:

the MatchCondition object itself.

withNegationConditon

public MatchCondition withNegationConditon(Boolean negationConditon)

Set whether this is negate condition or not.

Parameters:

negationConditon - the negationConditon value to set

Returns:

the MatchCondition object itself.

withOperator

public MatchCondition withOperator(WebApplicationFirewallOperator operator)

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.

withTransforms

public MatchCondition withTransforms(List transforms)

Set list of transforms.

Parameters:

transforms - the transforms value to set

Returns:

the MatchCondition object itself.

Applies to