Field Class

public final class Field
extends ExpandableStringEnum<Field>

Field for a given condition.

Field Summary

Modifier and Type Field and Description
static final Field ALERT_CONTEXT

Static value AlertContext for Field.

static final Field ALERT_RULE_ID

Static value AlertRuleId for Field.

static final Field ALERT_RULE_NAME

Static value AlertRuleName for Field.

static final Field DESCRIPTION

Static value Description for Field.

static final Field MONITOR_CONDITION

Static value MonitorCondition for Field.

static final Field MONITOR_SERVICE

Static value MonitorService for Field.

static final Field SEVERITY

Static value Severity for Field.

static final Field SIGNAL_TYPE

Static value SignalType for Field.

static final Field TARGET_RESOURCE

Static value TargetResource for Field.

static final Field TARGET_RESOURCE_GROUP

Static value TargetResourceGroup for Field.

static final Field TARGET_RESOURCE_TYPE

Static value TargetResourceType for Field.

Constructor Summary

Constructor Description
Field()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Field value.

Method Summary

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

Creates or finds a Field from its string representation.

static Collection<Field> values()

Gets known Field values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALERT_CONTEXT

public static final Field ALERT_CONTEXT

Static value AlertContext for Field.

ALERT_RULE_ID

public static final Field ALERT_RULE_ID

Static value AlertRuleId for Field.

ALERT_RULE_NAME

public static final Field ALERT_RULE_NAME

Static value AlertRuleName for Field.

DESCRIPTION

public static final Field DESCRIPTION

Static value Description for Field.

MONITOR_CONDITION

public static final Field MONITOR_CONDITION

Static value MonitorCondition for Field.

MONITOR_SERVICE

public static final Field MONITOR_SERVICE

Static value MonitorService for Field.

SEVERITY

public static final Field SEVERITY

Static value Severity for Field.

SIGNAL_TYPE

public static final Field SIGNAL_TYPE

Static value SignalType for Field.

TARGET_RESOURCE

public static final Field TARGET_RESOURCE

Static value TargetResource for Field.

TARGET_RESOURCE_GROUP

public static final Field TARGET_RESOURCE_GROUP

Static value TargetResourceGroup for Field.

TARGET_RESOURCE_TYPE

public static final Field TARGET_RESOURCE_TYPE

Static value TargetResourceType for Field.

Constructor Details

Field

@Deprecated
public Field()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Field value.

Method Details

fromString

public static Field fromString(String name)

Creates or finds a Field from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Field.

values

public static Collection<Field> values()

Gets known Field values.

Returns:

known Field values.

Applies to