java.lang.Object
com.azure.core.util.ExpandableStringEnum<UsageUnit>
com.azure.resourcemanager.labservices.models.UsageUnit

public final class UsageUnit extends com.azure.core.util.ExpandableStringEnum<UsageUnit>
The unit details.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UsageUnit
    Static value Count for UsageUnit.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static UsageUnit
    Creates or finds a UsageUnit from its string representation.
    Gets known UsageUnit values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • COUNT

      public static final UsageUnit COUNT
      Static value Count for UsageUnit.
  • Constructor Details

    • UsageUnit

      public UsageUnit()
  • Method Details

    • fromString

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

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