Class AutomaticTuningServerProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.AutomaticTuningServerProperties
Server-level Automatic Tuning properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomaticTuningServerProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actualState property: Automatic tuning actual state.Get the desiredState property: Automatic tuning desired state.options()Get the options property: Automatic tuning options definition.voidvalidate()Validates the instance.withDesiredState(AutomaticTuningServerMode desiredState) Set the desiredState property: Automatic tuning desired state.withOptions(Map<String, AutomaticTuningServerOptions> options) Set the options property: Automatic tuning options definition.
-
Constructor Details
-
AutomaticTuningServerProperties
public AutomaticTuningServerProperties()Creates an instance of AutomaticTuningServerProperties class.
-
-
Method Details
-
desiredState
Get the desiredState property: Automatic tuning desired state.- Returns:
- the desiredState value.
-
withDesiredState
Set the desiredState property: Automatic tuning desired state.- Parameters:
desiredState- the desiredState value to set.- Returns:
- the AutomaticTuningServerProperties object itself.
-
actualState
Get the actualState property: Automatic tuning actual state.- Returns:
- the actualState value.
-
options
Get the options property: Automatic tuning options definition.- Returns:
- the options value.
-
withOptions
public AutomaticTuningServerProperties withOptions(Map<String, AutomaticTuningServerOptions> options) Set the options property: Automatic tuning options definition.- Parameters:
options- the options value to set.- Returns:
- the AutomaticTuningServerProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-