Class UnitOfMeasure
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UnitOfMeasure>
com.azure.resourcemanager.machinelearning.models.UnitOfMeasure
Unit of time measure
The unit of time measurement for the specified VM price. Example: OneHour.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnitOfMeasureStatic value OneHour for UnitOfMeasure. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnitOfMeasurefromString(String name) Creates or finds a UnitOfMeasure from its string representation.static Collection<UnitOfMeasure>values()Gets known UnitOfMeasure values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ONE_HOUR
Static value OneHour for UnitOfMeasure.
-
-
Constructor Details
-
UnitOfMeasure
Deprecated.Use thefromString(String)factory method.Creates a new instance of UnitOfMeasure value.
-
-
Method Details
-
fromString
Creates or finds a UnitOfMeasure from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding UnitOfMeasure.
-
values
Gets known UnitOfMeasure values.- Returns:
- known UnitOfMeasure values.
-
fromString(String)factory method.