Enum Metric

java.lang.Object
java.lang.Enum<Metric>
software.amazon.awssdk.services.ec2.model.Metric
All Implemented Interfaces:
Serializable, Comparable<Metric>

@Generated("software.amazon.awssdk:codegen") public enum Metric extends Enum<Metric>
  • Enum Constant Details

    • RESERVATION_TOTAL_CAPACITY_HRS_VCPU

      public static final Metric RESERVATION_TOTAL_CAPACITY_HRS_VCPU
    • RESERVATION_TOTAL_CAPACITY_HRS_INST

      public static final Metric RESERVATION_TOTAL_CAPACITY_HRS_INST
    • RESERVATION_MAX_SIZE_VCPU

      public static final Metric RESERVATION_MAX_SIZE_VCPU
    • RESERVATION_MAX_SIZE_INST

      public static final Metric RESERVATION_MAX_SIZE_INST
    • RESERVATION_MIN_SIZE_VCPU

      public static final Metric RESERVATION_MIN_SIZE_VCPU
    • RESERVATION_MIN_SIZE_INST

      public static final Metric RESERVATION_MIN_SIZE_INST
    • RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU

      public static final Metric RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU
    • RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST

      public static final Metric RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST
    • RESERVATION_UNUSED_TOTAL_ESTIMATED_COST

      public static final Metric RESERVATION_UNUSED_TOTAL_ESTIMATED_COST
    • RESERVATION_MAX_UNUSED_SIZE_VCPU

      public static final Metric RESERVATION_MAX_UNUSED_SIZE_VCPU
    • RESERVATION_MAX_UNUSED_SIZE_INST

      public static final Metric RESERVATION_MAX_UNUSED_SIZE_INST
    • RESERVATION_MIN_UNUSED_SIZE_VCPU

      public static final Metric RESERVATION_MIN_UNUSED_SIZE_VCPU
    • RESERVATION_MIN_UNUSED_SIZE_INST

      public static final Metric RESERVATION_MIN_UNUSED_SIZE_INST
    • RESERVATION_MAX_UTILIZATION

      public static final Metric RESERVATION_MAX_UTILIZATION
    • RESERVATION_MIN_UTILIZATION

      public static final Metric RESERVATION_MIN_UTILIZATION
    • RESERVATION_AVG_UTILIZATION_VCPU

      public static final Metric RESERVATION_AVG_UTILIZATION_VCPU
    • RESERVATION_AVG_UTILIZATION_INST

      public static final Metric RESERVATION_AVG_UTILIZATION_INST
    • RESERVATION_TOTAL_COUNT

      public static final Metric RESERVATION_TOTAL_COUNT
    • RESERVATION_TOTAL_ESTIMATED_COST

      public static final Metric RESERVATION_TOTAL_ESTIMATED_COST
    • RESERVATION_AVG_FUTURE_SIZE_VCPU

      public static final Metric RESERVATION_AVG_FUTURE_SIZE_VCPU
    • RESERVATION_AVG_FUTURE_SIZE_INST

      public static final Metric RESERVATION_AVG_FUTURE_SIZE_INST
    • RESERVATION_MIN_FUTURE_SIZE_VCPU

      public static final Metric RESERVATION_MIN_FUTURE_SIZE_VCPU
    • RESERVATION_MIN_FUTURE_SIZE_INST

      public static final Metric RESERVATION_MIN_FUTURE_SIZE_INST
    • RESERVATION_MAX_FUTURE_SIZE_VCPU

      public static final Metric RESERVATION_MAX_FUTURE_SIZE_VCPU
    • RESERVATION_MAX_FUTURE_SIZE_INST

      public static final Metric RESERVATION_MAX_FUTURE_SIZE_INST
    • RESERVATION_AVG_COMMITTED_SIZE_VCPU

      public static final Metric RESERVATION_AVG_COMMITTED_SIZE_VCPU
    • RESERVATION_AVG_COMMITTED_SIZE_INST

      public static final Metric RESERVATION_AVG_COMMITTED_SIZE_INST
    • RESERVATION_MAX_COMMITTED_SIZE_VCPU

      public static final Metric RESERVATION_MAX_COMMITTED_SIZE_VCPU
    • RESERVATION_MAX_COMMITTED_SIZE_INST

      public static final Metric RESERVATION_MAX_COMMITTED_SIZE_INST
    • RESERVATION_MIN_COMMITTED_SIZE_VCPU

      public static final Metric RESERVATION_MIN_COMMITTED_SIZE_VCPU
    • RESERVATION_MIN_COMMITTED_SIZE_INST

      public static final Metric RESERVATION_MIN_COMMITTED_SIZE_INST
    • RESERVED_TOTAL_USAGE_HRS_VCPU

      public static final Metric RESERVED_TOTAL_USAGE_HRS_VCPU
    • RESERVED_TOTAL_USAGE_HRS_INST

      public static final Metric RESERVED_TOTAL_USAGE_HRS_INST
    • RESERVED_TOTAL_ESTIMATED_COST

      public static final Metric RESERVED_TOTAL_ESTIMATED_COST
    • UNRESERVED_TOTAL_USAGE_HRS_VCPU

      public static final Metric UNRESERVED_TOTAL_USAGE_HRS_VCPU
    • UNRESERVED_TOTAL_USAGE_HRS_INST

      public static final Metric UNRESERVED_TOTAL_USAGE_HRS_INST
    • UNRESERVED_TOTAL_ESTIMATED_COST

      public static final Metric UNRESERVED_TOTAL_ESTIMATED_COST
    • SPOT_TOTAL_USAGE_HRS_VCPU

      public static final Metric SPOT_TOTAL_USAGE_HRS_VCPU
    • SPOT_TOTAL_USAGE_HRS_INST

      public static final Metric SPOT_TOTAL_USAGE_HRS_INST
    • SPOT_TOTAL_ESTIMATED_COST

      public static final Metric SPOT_TOTAL_ESTIMATED_COST
    • SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST

      public static final Metric SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST
    • SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST

      public static final Metric SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST
    • SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST

      public static final Metric SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST
    • UNKNOWN_TO_SDK_VERSION

      public static final Metric UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static Metric[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Metric valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Metric>
    • fromValue

      public static Metric fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      Metric corresponding to the value
    • knownValues

      public static Set<Metric> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known Metrics