Enum MetricDefinition.AggregationType
- java.lang.Object
-
- java.lang.Enum<MetricDefinition.AggregationType>
-
- org.jclouds.azurecompute.arm.domain.MetricDefinition.AggregationType
-
- All Implemented Interfaces:
Serializable
,Comparable<MetricDefinition.AggregationType>
- Enclosing class:
- MetricDefinition
public static enum MetricDefinition.AggregationType extends Enum<MetricDefinition.AggregationType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDefinition.AggregationType
fromValue(String text)
String
toString()
static MetricDefinition.AggregationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetricDefinition.AggregationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final MetricDefinition.AggregationType None
-
Average
public static final MetricDefinition.AggregationType Average
-
Count
public static final MetricDefinition.AggregationType Count
-
Total
public static final MetricDefinition.AggregationType Total
-
Minimum
public static final MetricDefinition.AggregationType Minimum
-
Maximum
public static final MetricDefinition.AggregationType Maximum
-
UNRECOGNIZED
public static final MetricDefinition.AggregationType UNRECOGNIZED
-
-
Method Detail
-
values
public static MetricDefinition.AggregationType[] 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 (MetricDefinition.AggregationType c : MetricDefinition.AggregationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetricDefinition.AggregationType 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 MetricDefinition.AggregationType fromValue(String text)
-
toString
public String toString()
- Overrides:
toString
in classEnum<MetricDefinition.AggregationType>
-
-