AutomaticResourcePredictionsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. ResourcePredictionsProfile - com.
azure. resourcemanager. devopsinfrastructure. models. AutomaticResourcePredictionsProfile
- com.
- com.
public final class AutomaticResourcePredictionsProfile
extends ResourcePredictionsProfile
The stand-by agent scheme is determined based on historical demand.
Constructor Summary
| Constructor | Description |
|---|---|
| AutomaticResourcePredictionsProfile() |
Creates an instance of Automatic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Automatic |
fromJson(JsonReader jsonReader)
Reads an instance of Automatic |
|
Resource |
kind()
Get the kind property: Determines how the stand-by scheme should be provided. |
|
Prediction |
predictionPreference()
Get the prediction |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Automatic |
withPredictionPreference(PredictionPreference predictionPreference)
Set the prediction |
Methods inherited from ResourcePredictionsProfile
Methods inherited from java.lang.Object
Constructor Details
AutomaticResourcePredictionsProfile
public AutomaticResourcePredictionsProfile()
Creates an instance of AutomaticResourcePredictionsProfile class.
Method Details
fromJson
public static AutomaticResourcePredictionsProfile fromJson(JsonReader jsonReader)
Reads an instance of AutomaticResourcePredictionsProfile from the JsonReader.
Parameters:
Returns:
Throws:
kind
public ResourcePredictionsProfileType kind()
Get the kind property: Determines how the stand-by scheme should be provided.
Overrides:
AutomaticResourcePredictionsProfile.kind()Returns:
predictionPreference
public PredictionPreference predictionPreference()
Get the predictionPreference property: Determines the balance between cost and performance.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AutomaticResourcePredictionsProfile.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AutomaticResourcePredictionsProfile.validate()withPredictionPreference
public AutomaticResourcePredictionsProfile withPredictionPreference(PredictionPreference predictionPreference)
Set the predictionPreference property: Determines the balance between cost and performance.
Parameters:
Returns: