Class LotSource
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<LotSource>
-
- com.azure.resourcemanager.consumption.models.LotSource
-
public final class LotSource extends com.azure.core.util.ExpandableStringEnum<LotSource>
Defines values for LotSource.
-
-
Field Summary
Fields Modifier and Type Field Description static LotSource
CONSUMPTION_COMMITMENT
Static value ConsumptionCommitment for LotSource.static LotSource
PROMOTIONAL_CREDIT
Static value PromotionalCredit for LotSource.static LotSource
PURCHASED_CREDIT
Static value PurchasedCredit for LotSource.
-
Constructor Summary
Constructors Constructor Description LotSource()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LotSource
fromString(String name)
Creates or finds a LotSource from its string representation.static Collection<LotSource>
values()
-
-
-
Field Detail
-
PURCHASED_CREDIT
public static final LotSource PURCHASED_CREDIT
Static value PurchasedCredit for LotSource.
-
PROMOTIONAL_CREDIT
public static final LotSource PROMOTIONAL_CREDIT
Static value PromotionalCredit for LotSource.
-
CONSUMPTION_COMMITMENT
public static final LotSource CONSUMPTION_COMMITMENT
Static value ConsumptionCommitment for LotSource.
-
-
Method Detail
-
fromString
public static LotSource fromString(String name)
Creates or finds a LotSource from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LotSource.
-
values
public static Collection<LotSource> values()
- Returns:
- known LotSource values.
-
-