Class AutomaticTuningOptions
java.lang.Object
com.azure.resourcemanager.sql.models.AutomaticTuningOptions
Automatic tuning properties for individual advisors.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomaticTuningOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actualState property: Automatic tuning option actual state.Get the desiredState property: Automatic tuning option desired state.Get the reasonCode property: Reason code if desired and actual state are different.Get the reasonDesc property: Reason description if desired and actual state are different.voidvalidate()Validates the instance.withDesiredState(AutomaticTuningOptionModeDesired desiredState) Set the desiredState property: Automatic tuning option desired state.
-
Constructor Details
-
AutomaticTuningOptions
public AutomaticTuningOptions()Creates an instance of AutomaticTuningOptions class.
-
-
Method Details
-
desiredState
Get the desiredState property: Automatic tuning option desired state.- Returns:
- the desiredState value.
-
withDesiredState
Set the desiredState property: Automatic tuning option desired state.- Parameters:
desiredState- the desiredState value to set.- Returns:
- the AutomaticTuningOptions object itself.
-
actualState
Get the actualState property: Automatic tuning option actual state.- Returns:
- the actualState value.
-
reasonCode
Get the reasonCode property: Reason code if desired and actual state are different.- Returns:
- the reasonCode value.
-
reasonDesc
Get the reasonDesc property: Reason description if desired and actual state are different.- Returns:
- the reasonDesc value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-