ApplicationGatewayFirewallExclusion Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayFirewallExclusion

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 ApplicationGatewayFirewallExclusion class.

Method Summary

Modifier and Type Method and Description
static ApplicationGatewayFirewallExclusion fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayFirewallExclusion from the JsonReader.

String matchVariable()

Get the matchVariable property: The variable to be excluded.

String selector()

Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayFirewallExclusion withMatchVariable(String matchVariable)

Set the matchVariable property: The variable to be excluded.

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.

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.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayFirewallExclusion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

matchVariable

public String matchVariable()

Get the matchVariable property: The variable to be excluded.

Returns:

the matchVariable value.

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:

the selector value.

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:

the selectorMatchOperator value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMatchVariable

public ApplicationGatewayFirewallExclusion withMatchVariable(String matchVariable)

Set the matchVariable property: The variable to be excluded.

Parameters:

matchVariable - the matchVariable value to set.

Returns:

the ApplicationGatewayFirewallExclusion object itself.

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:

selector - the selector value to set.

Returns:

the ApplicationGatewayFirewallExclusion object itself.

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:

selectorMatchOperator - the selectorMatchOperator value to set.

Returns:

the ApplicationGatewayFirewallExclusion object itself.

Applies to