ApplicationGatewayRewriteRuleCondition Class

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

public class ApplicationGatewayRewriteRuleCondition

Set of conditions in the Rewrite Rule in Application Gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRewriteRuleCondition()

Method Summary

Modifier and Type Method and Description
java.lang.Boolean ignoreCase()

Get setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

java.lang.Boolean negate()

Get setting this value as truth will force to check the negation of the condition given by the user.

java.lang.String pattern()

Get the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

java.lang.String variable()

Get the condition parameter of the RewriteRuleCondition.

ApplicationGatewayRewriteRuleCondition withIgnoreCase(Boolean ignoreCase)

Set setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

ApplicationGatewayRewriteRuleCondition withNegate(Boolean negate)

Set setting this value as truth will force to check the negation of the condition given by the user.

ApplicationGatewayRewriteRuleCondition withPattern(String pattern)

Set the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

ApplicationGatewayRewriteRuleCondition withVariable(String variable)

Set the condition parameter of the RewriteRuleCondition.

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

ApplicationGatewayRewriteRuleCondition

public ApplicationGatewayRewriteRuleCondition()

Method Details

ignoreCase

public Boolean ignoreCase()

Get setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

Returns:

the ignoreCase value

negate

public Boolean negate()

Get setting this value as truth will force to check the negation of the condition given by the user.

Returns:

the negate value

pattern

public String pattern()

Get the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

Returns:

the pattern value

variable

public String variable()

Get the condition parameter of the RewriteRuleCondition.

Returns:

the variable value

withIgnoreCase

public ApplicationGatewayRewriteRuleCondition withIgnoreCase(Boolean ignoreCase)

Set setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

Parameters:

ignoreCase - the ignoreCase value to set

Returns:

the ApplicationGatewayRewriteRuleCondition object itself.

withNegate

public ApplicationGatewayRewriteRuleCondition withNegate(Boolean negate)

Set setting this value as truth will force to check the negation of the condition given by the user.

Parameters:

negate - the negate value to set

Returns:

the ApplicationGatewayRewriteRuleCondition object itself.

withPattern

public ApplicationGatewayRewriteRuleCondition withPattern(String pattern)

Set the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

Parameters:

pattern - the pattern value to set

Returns:

the ApplicationGatewayRewriteRuleCondition object itself.

withVariable

public ApplicationGatewayRewriteRuleCondition withVariable(String variable)

Set the condition parameter of the RewriteRuleCondition.

Parameters:

variable - the variable value to set

Returns:

the ApplicationGatewayRewriteRuleCondition object itself.

Applies to