Class ServerAutomaticTuningInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ServerAutomaticTuningInner
public final class ServerAutomaticTuningInner
extends com.azure.core.management.ProxyResource
Server-level Automatic Tuning.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerAutomaticTuningInner 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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ServerAutomaticTuningInner
public ServerAutomaticTuningInner()Creates an instance of ServerAutomaticTuningInner 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 ServerAutomaticTuningInner 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
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.
-