Freigeben über


ServerNetworkAccessFlag Class

public final class ServerNetworkAccessFlag
extends ExpandableStringEnum<ServerNetworkAccessFlag>

Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Field Summary

Modifier and Type Field and Description
static final ServerNetworkAccessFlag DISABLED

Static value Disabled for ServerNetworkAccessFlag.

static final ServerNetworkAccessFlag ENABLED

Static value Enabled for ServerNetworkAccessFlag.

Constructor Summary

Constructor Description
ServerNetworkAccessFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerNetworkAccessFlag value.

Method Summary

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

Creates or finds a ServerNetworkAccessFlag from its string representation.

static Collection<ServerNetworkAccessFlag> values()

Gets known ServerNetworkAccessFlag values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ServerNetworkAccessFlag DISABLED

Static value Disabled for ServerNetworkAccessFlag.

ENABLED

public static final ServerNetworkAccessFlag ENABLED

Static value Enabled for ServerNetworkAccessFlag.

Constructor Details

ServerNetworkAccessFlag

@Deprecated
public ServerNetworkAccessFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerNetworkAccessFlag value.

Method Details

fromString

public static ServerNetworkAccessFlag fromString(String name)

Creates or finds a ServerNetworkAccessFlag from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServerNetworkAccessFlag.

values

public static Collection values()

Gets known ServerNetworkAccessFlag values.

Returns:

known ServerNetworkAccessFlag values.

Applies to