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 Details

    • PT1H

      public static final QueryTimeGrainType PT1H
      Static value PT1H for QueryTimeGrainType.
    • P1D

      public static final QueryTimeGrainType P1D
      Static value P1D for QueryTimeGrainType.
  • Constructor Details

    • QueryTimeGrainType

      @Deprecated public QueryTimeGrainType()
      Deprecated.
      Use the fromString(String) 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.