ApplicationGatewayFirewallExclusion Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayFirewallExclusion
- com.
Implements
public final class ApplicationGatewayFirewallExclusion
implements JsonSerializable<ApplicationGatewayFirewallExclusion>
Allow to exclude some variable satisfy the condition for the WAF check.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayFirewallExclusion() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
matchVariable()
Get the match |
String |
selector()
Get the selector property: When match |
String |
selectorMatchOperator()
Get the selector |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withMatchVariable(String matchVariable)
Set the match |
Application |
withSelector(String selector)
Set the selector property: When match |
Application |
withSelectorMatchOperator(String selectorMatchOperator)
Set the selector |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayFirewallExclusion
public ApplicationGatewayFirewallExclusion()
Creates an instance of ApplicationGatewayFirewallExclusion class.
Method Details
fromJson
public static ApplicationGatewayFirewallExclusion fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFirewallExclusion from the JsonReader.
Parameters:
Returns:
Throws:
matchVariable
public String matchVariable()
Get the matchVariable property: The variable to be excluded.
Returns:
selector
public String selector()
Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
Returns:
selectorMatchOperator
public String selectorMatchOperator()
Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMatchVariable
public ApplicationGatewayFirewallExclusion withMatchVariable(String matchVariable)
Set the matchVariable property: The variable to be excluded.
Parameters:
Returns:
withSelector
public ApplicationGatewayFirewallExclusion withSelector(String selector)
Set the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
Parameters:
Returns:
withSelectorMatchOperator
public ApplicationGatewayFirewallExclusion withSelectorMatchOperator(String selectorMatchOperator)
Set the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
Parameters:
Returns:
Applies to
Azure SDK for Java