RecommendationCategory Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. developer. loadtesting. models. RecommendationCategory
- com.
- com.
public final class RecommendationCategory
extends ExpandableStringEnum<RecommendationCategory>
Category of Recommendation.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Recommendation |
COST_OPTIMIZED
The recommendation for this category optimizes the cost of the app. |
|
static final
Recommendation |
THROUGHPUT_OPTIMIZED
The recommendation for this category optimizes the throughput/RPS (Requests per Second) of the app. |
Constructor Summary
| Constructor | Description |
|---|---|
| RecommendationCategory() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Recommendation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Recommendation |
fromString(String name)
Creates or finds a Recommendation |
|
static
Collection<Recommendation |
values()
Gets known Recommendation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COST_OPTIMIZED
public static final RecommendationCategory COST_OPTIMIZED
The recommendation for this category optimizes the cost of the app.
THROUGHPUT_OPTIMIZED
public static final RecommendationCategory THROUGHPUT_OPTIMIZED
The recommendation for this category optimizes the throughput/RPS (Requests per Second) of the app.
Constructor Details
RecommendationCategory
@Deprecated
public RecommendationCategory()
Deprecated
Creates a new instance of RecommendationCategory value.
Method Details
fromString
public static RecommendationCategory fromString(String name)
Creates or finds a RecommendationCategory from its string representation.
Parameters:
Returns:
values
public static Collection<RecommendationCategory> values()
Gets known RecommendationCategory values.
Returns: