Class ComputeUsageUnit


public final class ComputeUsageUnit extends ExpandableStringEnum<ComputeUsageUnit>
Compute usage units.
  • Field Details

    • COUNT

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

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

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

      public static final ComputeUsageUnit PERCENT
      Static value Percent for ComputeUsageUnit.
    • COUNTS_PER_SECOND

      public static final ComputeUsageUnit COUNTS_PER_SECOND
      Static value CountsPerSecond for ComputeUsageUnit.
    • BYTES_PER_SECOND

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

    • ComputeUsageUnit

      public ComputeUsageUnit()
  • Method Details

    • fromString

      public static ComputeUsageUnit fromString(String name)
      Creates or finds a compute usage unit based on its name.
      Parameters:
      name - a name
      Returns:
      a corresponding ComputeUsageUnit
    • values

      public Collection<ComputeUsageUnit> values()
      Returns:
      known compute usage units