Class QueryTimeGrainType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<QueryTimeGrainType>
com.azure.resourcemanager.sql.models.QueryTimeGrainType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class QueryTimeGrainType
extends com.azure.core.util.ExpandableStringEnum<QueryTimeGrainType>
Interval type (length).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryTimeGrainTypeStatic value P1D for QueryTimeGrainType.static final QueryTimeGrainTypeStatic value PT1H for QueryTimeGrainType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryTimeGrainTypefromString(String name) Creates or finds a QueryTimeGrainType from its string representation.static Collection<QueryTimeGrainType> values()Gets known QueryTimeGrainType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PT1H
Static value PT1H for QueryTimeGrainType. -
P1D
Static value P1D for QueryTimeGrainType.
-
-
Constructor Details
-
QueryTimeGrainType
Deprecated.Use thefromString(String)factory method.Creates a new instance of QueryTimeGrainType value.
-
-
Method Details
-
fromString
Creates or finds a QueryTimeGrainType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding QueryTimeGrainType.
-
values
Gets known QueryTimeGrainType values.- Returns:
- known QueryTimeGrainType values.
-
fromString(String)factory method.