Kind Class

public final class Kind
extends ExpandableStringEnum<Kind>

Indicates the type of scheduled query rule. The default is LogAlert.

Field Summary

Modifier and Type Field and Description
static final Kind LOG_ALERT

Static value LogAlert for Kind.

static final Kind LOG_TO_METRIC

Static value LogToMetric for Kind.

Constructor Summary

Constructor Description
Kind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Kind value.

Method Summary

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

Creates or finds a Kind from its string representation.

static Collection<Kind> values()

Gets known Kind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LOG_ALERT

public static final Kind LOG_ALERT

Static value LogAlert for Kind.

LOG_TO_METRIC

public static final Kind LOG_TO_METRIC

Static value LogToMetric for Kind.

Constructor Details

Kind

@Deprecated
public Kind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Kind value.

Method Details

fromString

public static Kind fromString(String name)

Creates or finds a Kind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Kind.

values

public static Collection values()

Gets known Kind values.

Returns:

known Kind values.

Applies to