Class Grain
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Grain>
com.azure.resourcemanager.costmanagement.models.Grain
Grain which corresponds to value.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Grain
fromString
(String name) Creates or finds a Grain from its string representation.static Collection<Grain>
values()
Gets known Grain values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
HOURLY
Static value Hourly for Grain. -
DAILY
Static value Daily for Grain. -
MONTHLY
Static value Monthly for Grain.
-
-
Constructor Details
-
Grain
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Grain value.
-
-
Method Details
-
fromString
Creates or finds a Grain from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Grain.
-
values
Gets known Grain values.- Returns:
- known Grain values.
-
fromString(String)
factory method.