TestProfileRunRecommendation Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestProfileRunRecommendation
- com.
Implements
public final class TestProfileRunRecommendation
implements JsonSerializable<TestProfileRunRecommendation>
A recommendation object that provides a list of configuration that optimizes its category.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
|
Recommendation |
getCategory()
Get the category property: Category of the recommendation. |
| List<String> |
getConfigurations()
Get the configurations property: List of configurations IDs for which the recommendation is applicable. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static TestProfileRunRecommendation fromJson(JsonReader jsonReader)
Reads an instance of TestProfileRunRecommendation from the JsonReader.
Parameters:
Returns:
Throws:
getCategory
public RecommendationCategory getCategory()
Get the category property: Category of the recommendation.
Returns:
getConfigurations
public List<String> getConfigurations()
Get the configurations property: List of configurations IDs for which the recommendation is applicable. These are a subset of the provided target resource configurations.
Returns: