CommitmentGrain Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. CommitmentGrain
- com.
- com.
public final class CommitmentGrain
extends ExpandableStringEnum<CommitmentGrain>
Commitment grain.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Commitment |
HOURLY
Static value Hourly for Commitment |
Constructor Summary
| Constructor | Description |
|---|---|
| CommitmentGrain() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Commitment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Commitment |
fromString(String name)
Creates or finds a Commitment |
|
static
Collection<Commitment |
values()
Gets known Commitment |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HOURLY
public static final CommitmentGrain HOURLY
Static value Hourly for CommitmentGrain.
Constructor Details
CommitmentGrain
@Deprecated
public CommitmentGrain()
Deprecated
Creates a new instance of CommitmentGrain value.
Method Details
fromString
public static CommitmentGrain fromString(String name)
Creates or finds a CommitmentGrain from its string representation.
Parameters:
Returns:
values
public static Collection<CommitmentGrain> values()
Gets known CommitmentGrain values.
Returns: