Class UnitDefinitionType

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<UnitDefinitionType>
com.microsoft.azure.management.sql.UnitDefinitionType

public final class UnitDefinitionType extends com.microsoft.rest.ExpandableStringEnum<UnitDefinitionType>
Defines values for UnitDefinitionType.
  • Field Details

    • COUNT

      public static final UnitDefinitionType COUNT
      Static value Count for UnitDefinitionType.
    • BYTES

      public static final UnitDefinitionType BYTES
      Static value Bytes for UnitDefinitionType.
    • SECONDS

      public static final UnitDefinitionType SECONDS
      Static value Seconds for UnitDefinitionType.
    • PERCENT

      public static final UnitDefinitionType PERCENT
      Static value Percent for UnitDefinitionType.
    • COUNT_PER_SECOND

      public static final UnitDefinitionType COUNT_PER_SECOND
      Static value CountPerSecond for UnitDefinitionType.
    • BYTES_PER_SECOND

      public static final UnitDefinitionType BYTES_PER_SECOND
      Static value BytesPerSecond for UnitDefinitionType.
  • Constructor Details

    • UnitDefinitionType

      public UnitDefinitionType()
  • Method Details

    • fromString

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

      public static Collection<UnitDefinitionType> values()
      Returns:
      known UnitDefinitionType values