Class DatabaseAutomaticTuningInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.DatabaseAutomaticTuningInner
public final class DatabaseAutomaticTuningInner
extends com.azure.core.management.ProxyResource
Database-level Automatic Tuning.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DatabaseAutomaticTuningInner 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(AutomaticTuningMode desiredState) Set the desiredState property: Automatic tuning desired state.withOptions(Map<String, AutomaticTuningOptions> options) Set the options property: Automatic tuning options definition.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DatabaseAutomaticTuningInner
public DatabaseAutomaticTuningInner()Creates an instance of DatabaseAutomaticTuningInner 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 DatabaseAutomaticTuningInner 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 DatabaseAutomaticTuningInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-