PredictionPreference Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. devopsinfrastructure. models. PredictionPreference
- com.
- com.
public final class PredictionPreference
extends ExpandableStringEnum<PredictionPreference>
Determines the balance between cost and performance.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Prediction |
BALANCED
Balance between cost and performance. |
|
static final
Prediction |
BEST_PERFORMANCE
Optimizes for performance over cost. |
|
static final
Prediction |
MORE_COST_EFFECTIVE
Halfway through cost and balanced. |
|
static final
Prediction |
MORE_PERFORMANCE
Halfway through balanced and performance. |
|
static final
Prediction |
MOST_COST_EFFECTIVE
Optimizes for cost over performance. |
Constructor Summary
| Constructor | Description |
|---|---|
| PredictionPreference() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Prediction |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Prediction |
fromString(String name)
Creates or finds a Prediction |
|
static
Collection<Prediction |
values()
Gets known Prediction |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BALANCED
public static final PredictionPreference BALANCED
Balance between cost and performance.
BEST_PERFORMANCE
public static final PredictionPreference BEST_PERFORMANCE
Optimizes for performance over cost.
MORE_COST_EFFECTIVE
public static final PredictionPreference MORE_COST_EFFECTIVE
Halfway through cost and balanced.
MORE_PERFORMANCE
public static final PredictionPreference MORE_PERFORMANCE
Halfway through balanced and performance.
MOST_COST_EFFECTIVE
public static final PredictionPreference MOST_COST_EFFECTIVE
Optimizes for cost over performance.
Constructor Details
PredictionPreference
@Deprecated
public PredictionPreference()
Deprecated
Creates a new instance of PredictionPreference value.
Method Details
fromString
public static PredictionPreference fromString(String name)
Creates or finds a PredictionPreference from its string representation.
Parameters:
Returns:
values
public static Collection<PredictionPreference> values()
Gets known PredictionPreference values.
Returns: