Serializable
, Comparable<InstanceMetricName>
@Generated("software.amazon.awssdk:codegen") public enum InstanceMetricName extends Enum<InstanceMetricName>
Enum Constant | Description |
---|---|
CPUUtilization |
|
NetworkIn |
|
NetworkOut |
|
StatusCheckFailed |
|
StatusCheckFailed_Instance |
|
StatusCheckFailed_System |
Modifier and Type | Method | Description |
---|---|---|
static InstanceMetricName |
fromValue(String value) |
Use this in place of valueOf.
|
String |
toString() |
|
static InstanceMetricName |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static InstanceMetricName[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceMetricName CPUUtilization
public static final InstanceMetricName NetworkIn
public static final InstanceMetricName NetworkOut
public static final InstanceMetricName StatusCheckFailed
public static final InstanceMetricName StatusCheckFailed_Instance
public static final InstanceMetricName StatusCheckFailed_System
public static InstanceMetricName[] values()
for (InstanceMetricName c : InstanceMetricName.values()) System.out.println(c);
public static InstanceMetricName 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<InstanceMetricName>
public static InstanceMetricName fromValue(String value)
value
- real valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.