ApplicationGatewayRewriteRuleCondition Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayRewriteRuleCondition
- com.
Implements
public final class ApplicationGatewayRewriteRuleCondition
implements JsonSerializable<ApplicationGatewayRewriteRuleCondition>
Set of conditions in the Rewrite Rule in Application Gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayRewriteRuleCondition() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
Boolean |
ignoreCase()
Get the ignore |
Boolean |
negate()
Get the negate property: Setting this value as truth will force to check the negation of the condition given by the user. |
String |
pattern()
Get the pattern property: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
variable()
Get the variable property: The condition parameter of the Rewrite |
Application |
withIgnoreCase(Boolean ignoreCase)
Set the ignore |
Application |
withNegate(Boolean negate)
Set the negate property: 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 property: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. |
Application |
withVariable(String variable)
Set the variable property: The condition parameter of the Rewrite |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayRewriteRuleCondition
public ApplicationGatewayRewriteRuleCondition()
Creates an instance of ApplicationGatewayRewriteRuleCondition class.
Method Details
fromJson
public static ApplicationGatewayRewriteRuleCondition fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRewriteRuleCondition from the JsonReader.
Parameters:
Returns:
Throws:
ignoreCase
public Boolean ignoreCase()
Get the ignoreCase property: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
Returns:
negate
public Boolean negate()
Get the negate property: 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 property: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
Returns:
toJson
validate
public void validate()
Validates the instance.
variable
public String variable()
Get the variable property: The condition parameter of the RewriteRuleCondition.
Returns:
withIgnoreCase
public ApplicationGatewayRewriteRuleCondition withIgnoreCase(Boolean ignoreCase)
Set the ignoreCase property: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
Parameters:
Returns:
withNegate
public ApplicationGatewayRewriteRuleCondition withNegate(Boolean negate)
Set the negate property: 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 property: 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 variable property: The condition parameter of the RewriteRuleCondition.
Parameters:
Returns:
Applies to
Azure SDK for Java