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