Class DatabaseAutomaticTuningInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.DatabaseAutomaticTuningInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class DatabaseAutomaticTuningInner extends com.azure.core.management.ProxyResource
Database-level Automatic Tuning.
  • Constructor Details

    • DatabaseAutomaticTuningInner

      public DatabaseAutomaticTuningInner()
      Creates an instance of DatabaseAutomaticTuningInner class.
  • Method Details

    • 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

      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.