Class MetricUnit
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricUnit>
com.azure.resourcemanager.mediaservices.models.MetricUnit
The metric unit.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MetricUnit
Static value Bytes for MetricUnit.static final MetricUnit
Static value Count for MetricUnit.static final MetricUnit
Static value Milliseconds for MetricUnit. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetricUnit
fromString
(String name) Creates or finds a MetricUnit from its string representation.static Collection<MetricUnit>
values()
Gets known MetricUnit values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
BYTES
Static value Bytes for MetricUnit. -
COUNT
Static value Count for MetricUnit. -
MILLISECONDS
Static value Milliseconds for MetricUnit.
-
-
Constructor Details
-
MetricUnit
Deprecated.Use thefromString(String)
factory method.Creates a new instance of MetricUnit value.
-
-
Method Details
-
fromString
Creates or finds a MetricUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding MetricUnit.
-
values
Gets known MetricUnit values.- Returns:
- known MetricUnit values.
-
fromString(String)
factory method.