Class AutomaticTuningServerOptions
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.AutomaticTuningServerOptions
-
public final class AutomaticTuningServerOptions extends Object
Automatic tuning properties for individual advisors.
-
-
Constructor Summary
Constructors Constructor Description AutomaticTuningServerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomaticTuningOptionModeActualactualState()Get the actualState property: Automatic tuning option actual state.AutomaticTuningOptionModeDesireddesiredState()Get the desiredState property: Automatic tuning option desired state.IntegerreasonCode()Get the reasonCode property: Reason code if desired and actual state are different.AutomaticTuningServerReasonreasonDesc()Get the reasonDesc property: Reason description if desired and actual state are different.voidvalidate()Validates the instance.AutomaticTuningServerOptionswithDesiredState(AutomaticTuningOptionModeDesired desiredState)Set the desiredState property: Automatic tuning option desired state.
-
-
-
Method Detail
-
desiredState
public AutomaticTuningOptionModeDesired desiredState()
Get the desiredState property: Automatic tuning option desired state.- Returns:
- the desiredState value.
-
withDesiredState
public AutomaticTuningServerOptions withDesiredState(AutomaticTuningOptionModeDesired desiredState)
Set the desiredState property: Automatic tuning option desired state.- Parameters:
desiredState- the desiredState value to set.- Returns:
- the AutomaticTuningServerOptions object itself.
-
actualState
public AutomaticTuningOptionModeActual actualState()
Get the actualState property: Automatic tuning option actual state.- Returns:
- the actualState value.
-
reasonCode
public Integer reasonCode()
Get the reasonCode property: Reason code if desired and actual state are different.- Returns:
- the reasonCode value.
-
reasonDesc
public AutomaticTuningServerReason 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.
-
-