Class UsageUnit

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<UsageUnit>
com.microsoft.azure.management.batchai.UsageUnit

public final class UsageUnit extends com.microsoft.rest.ExpandableStringEnum<UsageUnit>
Defines values for UsageUnit.
  • 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.
     

    Methods inherited from class com.microsoft.rest.ExpandableStringEnum

    equals, fromString, hashCode, toString, values, withNameValue

    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()
      Returns:
      known UsageUnit values