通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QueryTimeGrainType Class

public final class QueryTimeGrainType
extends ExpandableStringEnum<QueryTimeGrainType>

Interval type (length).

Field Summary

Modifier and Type Field and Description
static final QueryTimeGrainType P1D

Static value P1D for QueryTimeGrainType.

static final QueryTimeGrainType PT1H

Static value PT1H for QueryTimeGrainType.

Constructor Summary

Constructor Description
QueryTimeGrainType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of QueryTimeGrainType value.

Method Summary

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

Creates or finds a QueryTimeGrainType from its string representation.

static Collection<QueryTimeGrainType> values()

Gets known QueryTimeGrainType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P1D

public static final QueryTimeGrainType P1D

Static value P1D for QueryTimeGrainType.

PT1H

public static final QueryTimeGrainType PT1H

Static value PT1H for QueryTimeGrainType.

Constructor Details

QueryTimeGrainType

@Deprecated
public QueryTimeGrainType()

Deprecated

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding QueryTimeGrainType.

values

public static Collection<QueryTimeGrainType> values()

Gets known QueryTimeGrainType values.

Returns:

known QueryTimeGrainType values.

Applies to