public enum QueryMetricUnit extends Enum<QueryMetricUnit>
Enum Constant and Description |
---|
KB
Enum value KB.
|
MICROSECONDS
Enum value microseconds.
|
PERCENTAGE
Enum value percentage.
|
Modifier and Type | Method and Description |
---|---|
static QueryMetricUnit |
fromString(String value)
Parses a serialized value to a QueryMetricUnit instance.
|
String |
toString() |
static QueryMetricUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryMetricUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryMetricUnit PERCENTAGE
public static final QueryMetricUnit KB
public static final QueryMetricUnit MICROSECONDS
public static QueryMetricUnit[] values()
public static QueryMetricUnit 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 static QueryMetricUnit fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<QueryMetricUnit>
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.