LotSource Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. consumption. models. LotSource
- com.
- com.
public final class LotSource
extends ExpandableStringEnum<LotSource>
The source of the lot.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Lot |
CONSUMPTION_COMMITMENT
Static value Consumption |
|
static final
Lot |
PROMOTIONAL_CREDIT
Static value Promotional |
|
static final
Lot |
PURCHASED_CREDIT
Static value Purchased |
Constructor Summary
| Constructor | Description |
|---|---|
| LotSource() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Lot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Lot |
fromString(String name)
Creates or finds a Lot |
|
static
Collection<Lot |
values()
Gets known Lot |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONSUMPTION_COMMITMENT
public static final LotSource CONSUMPTION_COMMITMENT
Static value ConsumptionCommitment for LotSource.
PROMOTIONAL_CREDIT
public static final LotSource PROMOTIONAL_CREDIT
Static value PromotionalCredit for LotSource.
PURCHASED_CREDIT
public static final LotSource PURCHASED_CREDIT
Static value PurchasedCredit for LotSource.
Constructor Details
LotSource
@Deprecated
public LotSource()
Deprecated
Creates a new instance of LotSource value.
Method Details
fromString
public static LotSource fromString(String name)
Creates or finds a LotSource from its string representation.
Parameters:
Returns:
values
public static Collection<LotSource> values()
Gets known LotSource values.
Returns: