Class MetricAggregationType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<MetricAggregationType>
-
- com.azure.resourcemanager.storagecache.models.MetricAggregationType
-
public final class MetricAggregationType extends com.azure.core.util.ExpandableStringEnum<MetricAggregationType>
Defines values for MetricAggregationType.
-
-
Field Summary
Fields Modifier and Type Field Description static MetricAggregationType
AVERAGE
Static value Average for MetricAggregationType.static MetricAggregationType
COUNT
Static value Count for MetricAggregationType.static MetricAggregationType
MAXIMUM
Static value Maximum for MetricAggregationType.static MetricAggregationType
MINIMUM
Static value Minimum for MetricAggregationType.static MetricAggregationType
NONE
Static value None for MetricAggregationType.static MetricAggregationType
NOT_SPECIFIED
Static value NotSpecified for MetricAggregationType.static MetricAggregationType
TOTAL
Static value Total for MetricAggregationType.
-
Constructor Summary
Constructors Constructor Description MetricAggregationType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetricAggregationType
fromString(String name)
Creates or finds a MetricAggregationType from its string representation.static Collection<MetricAggregationType>
values()
-
-
-
Field Detail
-
NOT_SPECIFIED
public static final MetricAggregationType NOT_SPECIFIED
Static value NotSpecified for MetricAggregationType.
-
NONE
public static final MetricAggregationType NONE
Static value None for MetricAggregationType.
-
AVERAGE
public static final MetricAggregationType AVERAGE
Static value Average for MetricAggregationType.
-
MINIMUM
public static final MetricAggregationType MINIMUM
Static value Minimum for MetricAggregationType.
-
MAXIMUM
public static final MetricAggregationType MAXIMUM
Static value Maximum for MetricAggregationType.
-
TOTAL
public static final MetricAggregationType TOTAL
Static value Total for MetricAggregationType.
-
COUNT
public static final MetricAggregationType COUNT
Static value Count for MetricAggregationType.
-
-
Method Detail
-
fromString
public static MetricAggregationType fromString(String name)
Creates or finds a MetricAggregationType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding MetricAggregationType.
-
values
public static Collection<MetricAggregationType> values()
- Returns:
- known MetricAggregationType values.
-
-