QueryTimeGrainType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. QueryTimeGrainType
- com.
- com.
public final class QueryTimeGrainType
extends ExpandableStringEnum<QueryTimeGrainType>
Interval type (length).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Query |
P1D
P1D. |
|
static final
Query |
PT1H
PT1H. |
Constructor Summary
| Constructor | Description |
|---|---|
| QueryTimeGrainType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromString(String name)
Creates or finds a Query |
|
static
Collection<Query |
values()
Gets known Query |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
P1D
public static final QueryTimeGrainType P1D
P1D.
PT1H
public static final QueryTimeGrainType PT1H
PT1H.
Constructor Details
QueryTimeGrainType
@Deprecated
public QueryTimeGrainType()
Deprecated
Creates a new instance of QueryTimeGrainType value.
Method Details
fromString
public static QueryTimeGrainType fromString(String name)
Creates or finds a QueryTimeGrainType from its string representation.
Parameters:
Returns:
values
public static Collection<QueryTimeGrainType> values()
Gets known QueryTimeGrainType values.
Returns: