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 Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<Metric>knownValues()StringtoString()static MetricvalueOf(String name)Returns the enum constant of this type with the specified name.static Metric[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Metric[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Metric c : Metric.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
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
-
-