DatabaseAutomaticTuningInner Class

public final class DatabaseAutomaticTuningInner
extends ProxyResource

Database-level Automatic Tuning.

Constructor Summary

Constructor Description
DatabaseAutomaticTuningInner()

Creates an instance of DatabaseAutomaticTuningInner class.

Method Summary

Modifier and Type Method and Description
AutomaticTuningMode actualState()

Get the actualState property: Automatic tuning actual state.

AutomaticTuningMode desiredState()

Get the desiredState property: Automatic tuning desired state.

static DatabaseAutomaticTuningInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseAutomaticTuningInner from the JsonReader.

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,AutomaticTuningOptions> options()

Get the options property: Automatic tuning options definition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DatabaseAutomaticTuningInner withDesiredState(AutomaticTuningMode desiredState)

Set the desiredState property: Automatic tuning desired state.

DatabaseAutomaticTuningInner 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:

the actualState value.

desiredState

public AutomaticTuningMode desiredState()

Get the desiredState property: Automatic tuning desired state.

Returns:

the desiredState value.

fromJson

public static DatabaseAutomaticTuningInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseAutomaticTuningInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatabaseAutomaticTuningInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DatabaseAutomaticTuningInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DatabaseAutomaticTuningInner.name()

Returns:

the name value.

options

public Map options()

Get the options property: Automatic tuning options definition.

Returns:

the options value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DatabaseAutomaticTuningInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DatabaseAutomaticTuningInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDesiredState

public DatabaseAutomaticTuningInner withDesiredState(AutomaticTuningMode desiredState)

Set the desiredState property: Automatic tuning desired state.

Parameters:

desiredState - the desiredState value to set.

Returns:

the DatabaseAutomaticTuningInner object itself.

withOptions

public DatabaseAutomaticTuningInner withOptions(Map options)

Set the options property: Automatic tuning options definition.

Parameters:

options - the options value to set.

Returns:

the DatabaseAutomaticTuningInner object itself.

Applies to