AutomaticTuningOptions Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. AutomaticTuningOptions
- com.
Implements
public final class AutomaticTuningOptions
implements JsonSerializable<AutomaticTuningOptions>
Automatic tuning properties for individual advisors.
Constructor Summary
Constructor | Description |
---|---|
AutomaticTuningOptions() |
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
AutomaticTuningOptions
public AutomaticTuningOptions()
Creates an instance of AutomaticTuningOptions 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 AutomaticTuningOptions fromJson(JsonReader jsonReader)
Reads an instance of AutomaticTuningOptions 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 AutomaticTuningDisabledReason 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 AutomaticTuningOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set the desiredState property: Automatic tuning option desired state.
Parameters:
Returns:
Applies to
Azure SDK for Java