@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum FleetMetricUnit extends Enum<FleetMetricUnit>
Enum Constant and Description |
---|
Bits |
BitsSecond |
Bytes |
BytesSecond |
Count |
CountSecond |
Gigabits |
GigabitsSecond |
Gigabytes |
GigabytesSecond |
Kilobits |
KilobitsSecond |
Kilobytes |
KilobytesSecond |
Megabits |
MegabitsSecond |
Megabytes |
MegabytesSecond |
Microseconds |
Milliseconds |
None |
Percent |
Seconds |
Terabits |
TerabitsSecond |
Terabytes |
TerabytesSecond |
Modifier and Type | Method and Description |
---|---|
static FleetMetricUnit |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static FleetMetricUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FleetMetricUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FleetMetricUnit Seconds
public static final FleetMetricUnit Microseconds
public static final FleetMetricUnit Milliseconds
public static final FleetMetricUnit Bytes
public static final FleetMetricUnit Kilobytes
public static final FleetMetricUnit Megabytes
public static final FleetMetricUnit Gigabytes
public static final FleetMetricUnit Terabytes
public static final FleetMetricUnit Bits
public static final FleetMetricUnit Kilobits
public static final FleetMetricUnit Megabits
public static final FleetMetricUnit Gigabits
public static final FleetMetricUnit Terabits
public static final FleetMetricUnit Percent
public static final FleetMetricUnit Count
public static final FleetMetricUnit BytesSecond
public static final FleetMetricUnit KilobytesSecond
public static final FleetMetricUnit MegabytesSecond
public static final FleetMetricUnit GigabytesSecond
public static final FleetMetricUnit TerabytesSecond
public static final FleetMetricUnit BitsSecond
public static final FleetMetricUnit KilobitsSecond
public static final FleetMetricUnit MegabitsSecond
public static final FleetMetricUnit GigabitsSecond
public static final FleetMetricUnit TerabitsSecond
public static final FleetMetricUnit CountSecond
public static final FleetMetricUnit None
public static FleetMetricUnit[] values()
for (FleetMetricUnit c : FleetMetricUnit.values()) System.out.println(c);
public static FleetMetricUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<FleetMetricUnit>
public static FleetMetricUnit fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.