Class ServerAutomaticTuningInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ServerAutomaticTuningInner
-
public class ServerAutomaticTuningInner extends com.azure.core.management.ProxyResourceServer-level Automatic Tuning.
-
-
Constructor Summary
Constructors Constructor Description ServerAutomaticTuningInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomaticTuningServerModeactualState()Get the actualState property: Automatic tuning actual state.AutomaticTuningServerModedesiredState()Get the desiredState property: Automatic tuning desired state.Map<String,AutomaticTuningServerOptions>options()Get the options property: Automatic tuning options definition.voidvalidate()Validates the instance.ServerAutomaticTuningInnerwithDesiredState(AutomaticTuningServerMode desiredState)Set the desiredState property: Automatic tuning desired state.ServerAutomaticTuningInnerwithOptions(Map<String,AutomaticTuningServerOptions> options)Set the options property: Automatic tuning options definition.
-
-
-
Method Detail
-
desiredState
public AutomaticTuningServerMode desiredState()
Get the desiredState property: Automatic tuning desired state.- Returns:
- the desiredState value.
-
withDesiredState
public ServerAutomaticTuningInner withDesiredState(AutomaticTuningServerMode desiredState)
Set the desiredState property: Automatic tuning desired state.- Parameters:
desiredState- the desiredState value to set.- Returns:
- the ServerAutomaticTuningInner object itself.
-
actualState
public AutomaticTuningServerMode actualState()
Get the actualState property: Automatic tuning actual state.- Returns:
- the actualState value.
-
options
public Map<String,AutomaticTuningServerOptions> options()
Get the options property: Automatic tuning options definition.- Returns:
- the options value.
-
withOptions
public ServerAutomaticTuningInner withOptions(Map<String,AutomaticTuningServerOptions> options)
Set the options property: Automatic tuning options definition.- Parameters:
options- the options value to set.- Returns:
- the ServerAutomaticTuningInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-