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