Share via


SecurityPolicyType Class

public final class SecurityPolicyType
extends ExpandableStringEnum<SecurityPolicyType>

The type of the Security policy to create.

Field Summary

Modifier and Type Field and Description
static final SecurityPolicyType WEB_APPLICATION_FIREWALL

Static value WebApplicationFirewall for SecurityPolicyType.

Constructor Summary

Constructor Description
SecurityPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityPolicyType value.

Method Summary

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

Creates or finds a SecurityPolicyType from its string representation.

static Collection<SecurityPolicyType> values()

Gets known SecurityPolicyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

WEB_APPLICATION_FIREWALL

public static final SecurityPolicyType WEB_APPLICATION_FIREWALL

Static value WebApplicationFirewall for SecurityPolicyType.

Constructor Details

SecurityPolicyType

@Deprecated
public SecurityPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityPolicyType value.

Method Details

fromString

public static SecurityPolicyType fromString(String name)

Creates or finds a SecurityPolicyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityPolicyType.

values

public static Collection<SecurityPolicyType> values()

Gets known SecurityPolicyType values.

Returns:

known SecurityPolicyType values.

Applies to