Class CriterionType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<CriterionType>
-
- com.azure.resourcemanager.monitor.models.CriterionType
-
public final class CriterionType extends com.azure.core.util.ExpandableStringEnum<CriterionType>
Defines values for CriterionType.
-
-
Field Summary
Fields Modifier and Type Field Description static CriterionTypeDYNAMIC_THRESHOLD_CRITERIONStatic value DynamicThresholdCriterion for CriterionType.static CriterionTypeSTATIC_THRESHOLD_CRITERIONStatic value StaticThresholdCriterion for CriterionType.
-
Constructor Summary
Constructors Constructor Description CriterionType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CriterionTypefromString(String name)Creates or finds a CriterionType from its string representation.static Collection<CriterionType>values()
-
-
-
Field Detail
-
STATIC_THRESHOLD_CRITERION
public static final CriterionType STATIC_THRESHOLD_CRITERION
Static value StaticThresholdCriterion for CriterionType.
-
DYNAMIC_THRESHOLD_CRITERION
public static final CriterionType DYNAMIC_THRESHOLD_CRITERION
Static value DynamicThresholdCriterion for CriterionType.
-
-
Method Detail
-
fromString
public static CriterionType fromString(String name)
Creates or finds a CriterionType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CriterionType.
-
values
public static Collection<CriterionType> values()
- Returns:
- known CriterionType values.
-
-