CostType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. devtestlabs. models. CostType
- com.
- com.
public final class CostType
extends ExpandableStringEnum<CostType>
The type of the cost.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Cost |
PROJECTED
Static value Projected for Cost |
|
static final
Cost |
REPORTED
Static value Reported for Cost |
|
static final
Cost |
UNAVAILABLE
Static value Unavailable for Cost |
Constructor Summary
| Constructor | Description |
|---|---|
| CostType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cost |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cost |
fromString(String name)
Creates or finds a Cost |
|
static
Collection<Cost |
values()
Gets known Cost |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PROJECTED
public static final CostType PROJECTED
Static value Projected for CostType.
REPORTED
public static final CostType REPORTED
Static value Reported for CostType.
UNAVAILABLE
public static final CostType UNAVAILABLE
Static value Unavailable for CostType.
Constructor Details
CostType
@Deprecated
public CostType()
Deprecated
Creates a new instance of CostType value.
Method Details
fromString
public static CostType fromString(String name)
Creates or finds a CostType from its string representation.
Parameters:
Returns:
values
public static Collection<CostType> values()
Gets known CostType values.
Returns: