共用方式為


WebApplicationFirewallState Class

public final class WebApplicationFirewallState
extends ExpandableStringEnum<WebApplicationFirewallState>

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

Field Summary

Modifier and Type Field and Description
static final WebApplicationFirewallState DISABLED

Static value Disabled for WebApplicationFirewallState.

static final WebApplicationFirewallState ENABLED

Static value Enabled for WebApplicationFirewallState.

Constructor Summary

Constructor Description
WebApplicationFirewallState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebApplicationFirewallState value.

Method Summary

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

Creates or finds a WebApplicationFirewallState from its string representation.

static Collection<WebApplicationFirewallState> values()

Gets known WebApplicationFirewallState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final WebApplicationFirewallState DISABLED

Static value Disabled for WebApplicationFirewallState.

ENABLED

public static final WebApplicationFirewallState ENABLED

Static value Enabled for WebApplicationFirewallState.

Constructor Details

WebApplicationFirewallState

@Deprecated
public WebApplicationFirewallState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WebApplicationFirewallState value.

Method Details

fromString

public static WebApplicationFirewallState fromString(String name)

Creates or finds a WebApplicationFirewallState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WebApplicationFirewallState.

values

public static Collection values()

Gets known WebApplicationFirewallState values.

Returns:

known WebApplicationFirewallState values.

Applies to