ApplicationGatewayAdvancedRoutingPropertyValueMatcher Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayAdvancedRoutingPropertyValueMatcher
- com.
Implements
public final class ApplicationGatewayAdvancedRoutingPropertyValueMatcher
implements JsonSerializable<ApplicationGatewayAdvancedRoutingPropertyValueMatcher>
Matches the value of a request property against a fixed string or regular expression.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayAdvancedRoutingPropertyValueMatcher() |
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 in the pattern field. |
| String |
pattern()
Get the pattern property: The pattern, either fixed string or regular expression, that the request property value is evaluated against. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
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 in the pattern field. |
|
Application |
withPattern(String pattern)
Set the pattern property: The pattern, either fixed string or regular expression, that the request property value is evaluated against. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayAdvancedRoutingPropertyValueMatcher
public ApplicationGatewayAdvancedRoutingPropertyValueMatcher()
Creates an instance of ApplicationGatewayAdvancedRoutingPropertyValueMatcher class.
Method Details
fromJson
public static ApplicationGatewayAdvancedRoutingPropertyValueMatcher fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayAdvancedRoutingPropertyValueMatcher 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 in the pattern field.
Returns:
pattern
public String pattern()
Get the pattern property: The pattern, either fixed string or regular expression, that the request property value is evaluated against.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIgnoreCase
public ApplicationGatewayAdvancedRoutingPropertyValueMatcher 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 ApplicationGatewayAdvancedRoutingPropertyValueMatcher 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 in the pattern field.
Parameters:
Returns:
withPattern
public ApplicationGatewayAdvancedRoutingPropertyValueMatcher withPattern(String pattern)
Set the pattern property: The pattern, either fixed string or regular expression, that the request property value is evaluated against.
Parameters:
Returns: