Class ApplicationGatewayRewriteRuleCondition
java.lang.Object
com.microsoft.azure.management.network.ApplicationGatewayRewriteRuleCondition
Set of conditions in the Rewrite Rule in Application Gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.negate()
Get setting this value as truth will force to check the negation of the condition given by the user.pattern()
Get the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.variable()
Get the condition parameter of the RewriteRuleCondition.withIgnoreCase
(Boolean ignoreCase) Set setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.withNegate
(Boolean negate) Set setting this value as truth will force to check the negation of the condition given by the user.withPattern
(String pattern) Set the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.withVariable
(String variable) Set the condition parameter of the RewriteRuleCondition.
-
Constructor Details
-
ApplicationGatewayRewriteRuleCondition
public ApplicationGatewayRewriteRuleCondition()
-
-
Method Details
-
variable
Get the condition parameter of the RewriteRuleCondition.- Returns:
- the variable value
-
withVariable
Set the condition parameter of the RewriteRuleCondition.- Parameters:
variable
- the variable value to set- Returns:
- the ApplicationGatewayRewriteRuleCondition object itself.
-
pattern
Get the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.- Returns:
- the pattern value
-
withPattern
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.
-
ignoreCase
Get setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.- Returns:
- the ignoreCase value
-
withIgnoreCase
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.
-
negate
Get setting this value as truth will force to check the negation of the condition given by the user.- Returns:
- the negate value
-
withNegate
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.
-