Class AutomaticTuningServerProperties

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

public final class AutomaticTuningServerProperties extends Object
Server-level Automatic Tuning properties.
  • Constructor Details

    • AutomaticTuningServerProperties

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

    • desiredState

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

      public AutomaticTuningServerProperties withDesiredState(AutomaticTuningServerMode desiredState)
      Set the desiredState property: Automatic tuning desired state.
      Parameters:
      desiredState - the desiredState value to set.
      Returns:
      the AutomaticTuningServerProperties object itself.
    • actualState

      public AutomaticTuningServerMode 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 AutomaticTuningServerProperties object itself.
    • validate

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