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