ApplicationGatewayRewriteRuleCondition Class
- java.
lang. Object - com.
microsoft. azure. management. network. ApplicationGatewayRewriteRuleCondition
- com.
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 Rewrite |
Application |
withIgnoreCase(Boolean ignoreCase)
Set setting this paramter to truth value with force the pattern to do a case in-sensitive comparison. |
Application |
withNegate(Boolean negate)
Set setting this value as truth will force to check the negation of the condition given by the user. |
Application |
withPattern(String pattern)
Set the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. |
Application |
withVariable(String variable)
Set the condition parameter of the Rewrite |
Methods inherited from java.lang.Object
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:
negate
public Boolean negate()
Get setting this value as truth will force to check the negation of the condition given by the user.
Returns:
pattern
public String pattern()
Get the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
Returns:
variable
public String variable()
Get the condition parameter of the RewriteRuleCondition.
Returns:
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:
Returns:
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:
Returns:
withPattern
public ApplicationGatewayRewriteRuleCondition withPattern(String pattern)
Set the pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
Parameters:
Returns:
withVariable
public ApplicationGatewayRewriteRuleCondition withVariable(String variable)
Set the condition parameter of the RewriteRuleCondition.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for