AutomaticTuningServerOptions Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. AutomaticTuningServerOptions
- com.
Implements
public final class AutomaticTuningServerOptions
implements JsonSerializable<AutomaticTuningServerOptions>
Automatic tuning properties for individual advisors.
Constructor Summary
Constructor | Description |
---|---|
AutomaticTuningServerOptions() |
Creates an instance of Automatic |
Method Summary
Modifier and Type | Method and Description |
---|---|
Automatic |
actualState()
Get the actual |
Automatic |
desiredState()
Get the desired |
static
Automatic |
fromJson(JsonReader jsonReader)
Reads an instance of Automatic |
Integer |
reasonCode()
Get the reason |
Automatic |
reasonDesc()
Get the reason |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Automatic |
withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set the desired |
Methods inherited from java.lang.Object
Constructor Details
AutomaticTuningServerOptions
public AutomaticTuningServerOptions()
Creates an instance of AutomaticTuningServerOptions class.
Method Details
actualState
public AutomaticTuningOptionModeActual actualState()
Get the actualState property: Automatic tuning option actual state.
Returns:
desiredState
public AutomaticTuningOptionModeDesired desiredState()
Get the desiredState property: Automatic tuning option desired state.
Returns:
fromJson
public static AutomaticTuningServerOptions fromJson(JsonReader jsonReader)
Reads an instance of AutomaticTuningServerOptions from the JsonReader.
Parameters:
Returns:
Throws:
reasonCode
public Integer reasonCode()
Get the reasonCode property: Reason code if desired and actual state are different.
Returns:
reasonDesc
public AutomaticTuningServerReason reasonDesc()
Get the reasonDesc property: Reason description if desired and actual state are different.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDesiredState
public AutomaticTuningServerOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set the desiredState property: Automatic tuning option desired state.
Parameters:
Returns:
Applies to
Azure SDK for Java