Udostępnij za pośrednictwem


MonitorAlertSeverity Class

public final class MonitorAlertSeverity
extends ExpandableStringEnum<MonitorAlertSeverity>

The severity that will be attached to every Alert fired through this event subscription. This field must be provided.

Field Summary

Modifier and Type Field and Description
static final MonitorAlertSeverity SEV0

Static value Sev0 for MonitorAlertSeverity.

static final MonitorAlertSeverity SEV1

Static value Sev1 for MonitorAlertSeverity.

static final MonitorAlertSeverity SEV2

Static value Sev2 for MonitorAlertSeverity.

static final MonitorAlertSeverity SEV3

Static value Sev3 for MonitorAlertSeverity.

static final MonitorAlertSeverity SEV4

Static value Sev4 for MonitorAlertSeverity.

Constructor Summary

Constructor Description
MonitorAlertSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MonitorAlertSeverity value.

Method Summary

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

Creates or finds a MonitorAlertSeverity from its string representation.

static Collection<MonitorAlertSeverity> values()

Gets known MonitorAlertSeverity values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SEV0

public static final MonitorAlertSeverity SEV0

Static value Sev0 for MonitorAlertSeverity.

SEV1

public static final MonitorAlertSeverity SEV1

Static value Sev1 for MonitorAlertSeverity.

SEV2

public static final MonitorAlertSeverity SEV2

Static value Sev2 for MonitorAlertSeverity.

SEV3

public static final MonitorAlertSeverity SEV3

Static value Sev3 for MonitorAlertSeverity.

SEV4

public static final MonitorAlertSeverity SEV4

Static value Sev4 for MonitorAlertSeverity.

Constructor Details

MonitorAlertSeverity

@Deprecated
public MonitorAlertSeverity()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MonitorAlertSeverity value.

Method Details

fromString

public static MonitorAlertSeverity fromString(String name)

Creates or finds a MonitorAlertSeverity from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MonitorAlertSeverity.

values

public static Collection<MonitorAlertSeverity> values()

Gets known MonitorAlertSeverity values.

Returns:

known MonitorAlertSeverity values.

Applies to