ServerAutomaticTuningInner Class

public final class ServerAutomaticTuningInner
extends ProxyResource

Server-level Automatic Tuning.

Constructor Summary

Constructor Description
ServerAutomaticTuningInner()

Creates an instance of ServerAutomaticTuningInner class.

Method Summary

Modifier and Type Method and Description
AutomaticTuningServerMode actualState()

Get the actualState property: Automatic tuning actual state.

AutomaticTuningServerMode desiredState()

Get the desiredState property: Automatic tuning desired state.

static ServerAutomaticTuningInner fromJson(JsonReader jsonReader)

Reads an instance of ServerAutomaticTuningInner 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,AutomaticTuningServerOptions> 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.

ServerAutomaticTuningInner withDesiredState(AutomaticTuningServerMode desiredState)

Set the desiredState property: Automatic tuning desired state.

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

the actualState value.

desiredState

public AutomaticTuningServerMode desiredState()

Get the desiredState property: Automatic tuning desired state.

Returns:

the desiredState value.

fromJson

public static ServerAutomaticTuningInner fromJson(JsonReader jsonReader)

Reads an instance of ServerAutomaticTuningInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerAutomaticTuningInner 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:

ServerAutomaticTuningInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerAutomaticTuningInner.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:

ServerAutomaticTuningInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerAutomaticTuningInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

withOptions

public ServerAutomaticTuningInner withOptions(Map options)

Set the options property: Automatic tuning options definition.

Parameters:

options - the options value to set.

Returns:

the ServerAutomaticTuningInner object itself.

Applies to