DdosSettingsProtectionMode Class

public final class DdosSettingsProtectionMode
extends ExpandableStringEnum<DdosSettingsProtectionMode>

The DDoS protection mode of the public IP.

Field Summary

Modifier and Type Field and Description
static final DdosSettingsProtectionMode DISABLED

Static value Disabled for DdosSettingsProtectionMode.

static final DdosSettingsProtectionMode ENABLED

Static value Enabled for DdosSettingsProtectionMode.

static final DdosSettingsProtectionMode VIRTUAL_NETWORK_INHERITED

Static value VirtualNetworkInherited for DdosSettingsProtectionMode.

Constructor Summary

Constructor Description
DdosSettingsProtectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DdosSettingsProtectionMode value.

Method Summary

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

Creates or finds a DdosSettingsProtectionMode from its string representation.

static Collection<DdosSettingsProtectionMode> values()

Gets known DdosSettingsProtectionMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final DdosSettingsProtectionMode DISABLED

Static value Disabled for DdosSettingsProtectionMode.

ENABLED

public static final DdosSettingsProtectionMode ENABLED

Static value Enabled for DdosSettingsProtectionMode.

VIRTUAL_NETWORK_INHERITED

public static final DdosSettingsProtectionMode VIRTUAL_NETWORK_INHERITED

Static value VirtualNetworkInherited for DdosSettingsProtectionMode.

Constructor Details

DdosSettingsProtectionMode

@Deprecated
public DdosSettingsProtectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DdosSettingsProtectionMode value.

Method Details

fromString

public static DdosSettingsProtectionMode fromString(String name)

Creates or finds a DdosSettingsProtectionMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DdosSettingsProtectionMode.

values

public static Collection values()

Gets known DdosSettingsProtectionMode values.

Returns:

known DdosSettingsProtectionMode values.

Applies to