ServerAutomaticTuningInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerAutomaticTuningInner
- com.
- com.
public final class ServerAutomaticTuningInner
extends ProxyResource
Server-level Automatic Tuning.
Constructor Summary
Constructor | Description |
---|---|
ServerAutomaticTuningInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
Automatic |
actualState()
Get the actual |
Automatic |
desiredState()
Get the desired |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Map<String,Automatic |
options()
Get the options property: Automatic tuning options definition. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withDesiredState(AutomaticTuningServerMode desiredState)
Set the desired |
Server |
withOptions(Map<String,AutomaticTuningServerOptions> options)
Set the options property: Automatic tuning options definition. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerAutomaticTuningInner
public ServerAutomaticTuningInner()
Creates an instance of ServerAutomaticTuningInner class.
Method Details
actualState
public AutomaticTuningServerMode actualState()
Get the actualState property: Automatic tuning actual state.
Returns:
desiredState
public AutomaticTuningServerMode desiredState()
Get the desiredState property: Automatic tuning desired state.
Returns:
fromJson
public static ServerAutomaticTuningInner fromJson(JsonReader jsonReader)
Reads an instance of ServerAutomaticTuningInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerAutomaticTuningInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerAutomaticTuningInner.name()Returns:
options
public Map
Get the options property: Automatic tuning options definition.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerAutomaticTuningInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerAutomaticTuningInner.type()Returns:
validate
public void validate()
Validates the instance.
withDesiredState
public ServerAutomaticTuningInner withDesiredState(AutomaticTuningServerMode desiredState)
Set the desiredState property: Automatic tuning desired state.
Parameters:
Returns:
withOptions
public ServerAutomaticTuningInner withOptions(Map
Set the options property: Automatic tuning options definition.
Parameters:
Returns:
Applies to
Azure SDK for Java