Class AlertQueryTimeMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertQueryTimeMode>
com.azure.ai.metricsadvisor.models.AlertQueryTimeMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AlertQueryTimeMode
extends com.azure.core.util.ExpandableStringEnum<AlertQueryTimeMode>
Defines values for AlertQueryTimeMode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlertQueryTimeModeStatic value AnomalyTime for AlertQueryTimeMode.static final AlertQueryTimeModeStatic value CreatedTime for AlertQueryTimeMode.static final AlertQueryTimeModeStatic value ModifiedTime for AlertQueryTimeMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertQueryTimeModefromString(String name) Creates or finds a AlertQueryTimeMode from its string representation.static Collection<AlertQueryTimeMode> values()Returns the known AlertQueryTimeMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ANOMALY_TIME
Static value AnomalyTime for AlertQueryTimeMode. -
CREATED_TIME
Static value CreatedTime for AlertQueryTimeMode. -
MODIFIED_TIME
Static value ModifiedTime for AlertQueryTimeMode.
-
-
Constructor Details
-
AlertQueryTimeMode
Deprecated.Use thefromString(String)factory method.Constructs a AlertQueryTimeMode object.
-
-
Method Details
-
fromString
Creates or finds a AlertQueryTimeMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AlertQueryTimeMode.
-
values
Returns the known AlertQueryTimeMode values.- Returns:
- known AlertQueryTimeMode values.
-
fromString(String)factory method.