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

Disabled.

static final DdosSettingsProtectionMode ENABLED

Enabled.

static final DdosSettingsProtectionMode VIRTUAL_NETWORK_INHERITED

VirtualNetworkInherited.

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

Disabled.

ENABLED

public static final DdosSettingsProtectionMode ENABLED

Enabled.

VIRTUAL_NETWORK_INHERITED

public static final DdosSettingsProtectionMode VIRTUAL_NETWORK_INHERITED

VirtualNetworkInherited.

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<DdosSettingsProtectionMode> values()

Gets known DdosSettingsProtectionMode values.

Returns:

known DdosSettingsProtectionMode values.

Applies to