Class DatabaseAutomaticTuningInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.DatabaseAutomaticTuningInner
-
public class DatabaseAutomaticTuningInner extends com.azure.core.management.ProxyResourceDatabase-level Automatic Tuning.
-
-
Constructor Summary
Constructors Constructor Description DatabaseAutomaticTuningInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomaticTuningModeactualState()Get the actualState property: Automatic tuning actual state.AutomaticTuningModedesiredState()Get the desiredState property: Automatic tuning desired state.Map<String,AutomaticTuningOptions>options()Get the options property: Automatic tuning options definition.voidvalidate()Validates the instance.DatabaseAutomaticTuningInnerwithDesiredState(AutomaticTuningMode desiredState)Set the desiredState property: Automatic tuning desired state.DatabaseAutomaticTuningInnerwithOptions(Map<String,AutomaticTuningOptions> options)Set the options property: Automatic tuning options definition.
-
-
-
Method Detail
-
desiredState
public AutomaticTuningMode desiredState()
Get the desiredState property: Automatic tuning desired state.- Returns:
- the desiredState value.
-
withDesiredState
public DatabaseAutomaticTuningInner withDesiredState(AutomaticTuningMode desiredState)
Set the desiredState property: Automatic tuning desired state.- Parameters:
desiredState- the desiredState value to set.- Returns:
- the DatabaseAutomaticTuningInner object itself.
-
actualState
public AutomaticTuningMode actualState()
Get the actualState property: Automatic tuning actual state.- Returns:
- the actualState value.
-
options
public Map<String,AutomaticTuningOptions> options()
Get the options property: Automatic tuning options definition.- Returns:
- the options value.
-
withOptions
public DatabaseAutomaticTuningInner withOptions(Map<String,AutomaticTuningOptions> options)
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.
-
-