java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricUnit>
com.azure.resourcemanager.mediaservices.models.MetricUnit

public final class MetricUnit extends com.azure.core.util.ExpandableStringEnum<MetricUnit>
The metric unit.
  • Field Details

    • BYTES

      public static final MetricUnit BYTES
      Static value Bytes for MetricUnit.
    • COUNT

      public static final MetricUnit COUNT
      Static value Count for MetricUnit.
    • MILLISECONDS

      public static final MetricUnit MILLISECONDS
      Static value Milliseconds for MetricUnit.
  • Constructor Details

  • Method Details

    • fromString

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

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