Class ServerAutomaticTuningInner

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

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

    • ServerAutomaticTuningInner

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

    • desiredState

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

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

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