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