PublicNetworkAccessFlag Class

public final class PublicNetworkAccessFlag
extends ExpandableStringEnum<PublicNetworkAccessFlag>

This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.

Field Summary

Modifier and Type Field and Description
static final PublicNetworkAccessFlag DISABLED

Static value Disabled for PublicNetworkAccessFlag.

static final PublicNetworkAccessFlag ENABLED

Static value Enabled for PublicNetworkAccessFlag.

static final PublicNetworkAccessFlag SECURED_BY_PERIMETER

Static value SecuredByPerimeter for PublicNetworkAccessFlag.

Constructor Summary

Constructor Description
PublicNetworkAccessFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccessFlag value.

Method Summary

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

Creates or finds a PublicNetworkAccessFlag from its string representation.

static Collection<PublicNetworkAccessFlag> values()

Gets known PublicNetworkAccessFlag values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final PublicNetworkAccessFlag DISABLED

Static value Disabled for PublicNetworkAccessFlag.

ENABLED

public static final PublicNetworkAccessFlag ENABLED

Static value Enabled for PublicNetworkAccessFlag.

SECURED_BY_PERIMETER

public static final PublicNetworkAccessFlag SECURED_BY_PERIMETER

Static value SecuredByPerimeter for PublicNetworkAccessFlag.

Constructor Details

PublicNetworkAccessFlag

@Deprecated
public PublicNetworkAccessFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccessFlag value.

Method Details

fromString

public static PublicNetworkAccessFlag fromString(String name)

Creates or finds a PublicNetworkAccessFlag from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublicNetworkAccessFlag.

values

public static Collection values()

Gets known PublicNetworkAccessFlag values.

Returns:

known PublicNetworkAccessFlag values.

Applies to