WebApplicationFirewallMode Class

public final class WebApplicationFirewallMode
extends ExpandableStringEnum<WebApplicationFirewallMode>

The mode of the policy.

Field Summary

Modifier and Type Field and Description
static final WebApplicationFirewallMode DETECTION

Static value Detection for WebApplicationFirewallMode.

static final WebApplicationFirewallMode PREVENTION

Static value Prevention for WebApplicationFirewallMode.

Constructor Summary

Constructor Description
WebApplicationFirewallMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebApplicationFirewallMode value.

Method Summary

Modifier and Type Method and Description
static WebApplicationFirewallMode fromString(String name)

Creates or finds a WebApplicationFirewallMode from its string representation.

static Collection<WebApplicationFirewallMode> values()

Gets known WebApplicationFirewallMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DETECTION

public static final WebApplicationFirewallMode DETECTION

Static value Detection for WebApplicationFirewallMode.

PREVENTION

public static final WebApplicationFirewallMode PREVENTION

Static value Prevention for WebApplicationFirewallMode.

Constructor Details

WebApplicationFirewallMode

@Deprecated
public WebApplicationFirewallMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebApplicationFirewallMode value.

Method Details

fromString

public static WebApplicationFirewallMode fromString(String name)

Creates or finds a WebApplicationFirewallMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebApplicationFirewallMode.

values

public static Collection values()

Gets known WebApplicationFirewallMode values.

Returns:

known WebApplicationFirewallMode values.

Applies to