Class UnitType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UnitType>
com.azure.resourcemanager.sql.models.UnitType

public final class UnitType extends com.azure.core.util.ExpandableStringEnum<UnitType>
Defines values for UnitType.
  • Field Details

    • COUNT

      public static final UnitType COUNT
      Static value count for UnitType.
    • BYTES

      public static final UnitType BYTES
      Static value bytes for UnitType.
    • SECONDS

      public static final UnitType SECONDS
      Static value seconds for UnitType.
    • PERCENT

      public static final UnitType PERCENT
      Static value percent for UnitType.
    • COUNT_PER_SECOND

      public static final UnitType COUNT_PER_SECOND
      Static value countPerSecond for UnitType.
    • BYTES_PER_SECOND

      public static final UnitType BYTES_PER_SECOND
      Static value bytesPerSecond for UnitType.
  • Constructor Details

    • UnitType

      public UnitType()
  • Method Details

    • fromString

      public static UnitType fromString(String name)
      Creates or finds a UnitType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UnitType.
    • values

      public static Collection<UnitType> values()
      Gets known UnitType values.
      Returns:
      known UnitType values.