Class DatabaseAutomaticTuningProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.DatabaseAutomaticTuningProperties

public final class DatabaseAutomaticTuningProperties extends Object
Database-level Automatic Tuning properties.
  • Constructor Details

    • DatabaseAutomaticTuningProperties

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

    • desiredState

      public AutomaticTuningMode desiredState()
      Get the desiredState property: Automatic tuning desired state.
      Returns:
      the desiredState value.
    • withDesiredState

      public DatabaseAutomaticTuningProperties withDesiredState(AutomaticTuningMode desiredState)
      Set the desiredState property: Automatic tuning desired state.
      Parameters:
      desiredState - the desiredState value to set.
      Returns:
      the DatabaseAutomaticTuningProperties 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 DatabaseAutomaticTuningProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.