Condividi tramite


DdosDetectionMode Class

public final class DdosDetectionMode
extends ExpandableStringEnum<DdosDetectionMode>

The detection mode for the DDoS detection rule.

Field Summary

Modifier and Type Field and Description
static final DdosDetectionMode TRAFFIC_THRESHOLD

Static value TrafficThreshold for DdosDetectionMode.

Constructor Summary

Constructor Description
DdosDetectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DdosDetectionMode value.

Method Summary

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

Creates or finds a DdosDetectionMode from its string representation.

static Collection<DdosDetectionMode> values()

Gets known DdosDetectionMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TRAFFIC_THRESHOLD

public static final DdosDetectionMode TRAFFIC_THRESHOLD

Static value TrafficThreshold for DdosDetectionMode.

Constructor Details

DdosDetectionMode

@Deprecated
public DdosDetectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DdosDetectionMode value.

Method Details

fromString

public static DdosDetectionMode fromString(String name)

Creates or finds a DdosDetectionMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DdosDetectionMode.

values

public static Collection<DdosDetectionMode> values()

Gets known DdosDetectionMode values.

Returns:

known DdosDetectionMode values.

Applies to