Partager via


ServerConfigurationOptionInner Class

public final class ServerConfigurationOptionInner
extends ProxyResource

A server configuration option.

Constructor Summary

Constructor Description
ServerConfigurationOptionInner()

Creates an instance of ServerConfigurationOptionInner class.

Method Summary

Modifier and Type Method and Description
static ServerConfigurationOptionInner fromJson(JsonReader jsonReader)

Reads an instance of ServerConfigurationOptionInner 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.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of server configuration option.

Integer serverConfigurationOptionValue()

Get the serverConfigurationOptionValue property: Value of the server configuration option.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerConfigurationOptionInner withServerConfigurationOptionValue(Integer serverConfigurationOptionValue)

Set the serverConfigurationOptionValue property: Value of the server configuration option.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ServerConfigurationOptionInner

public ServerConfigurationOptionInner()

Creates an instance of ServerConfigurationOptionInner class.

Method Details

fromJson

public static ServerConfigurationOptionInner fromJson(JsonReader jsonReader)

Reads an instance of ServerConfigurationOptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ServerConfigurationOptionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerConfigurationOptionInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of server configuration option.

Returns:

the provisioningState value.

serverConfigurationOptionValue

public Integer serverConfigurationOptionValue()

Get the serverConfigurationOptionValue property: Value of the server configuration option.

Returns:

the serverConfigurationOptionValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerConfigurationOptionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerConfigurationOptionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withServerConfigurationOptionValue

public ServerConfigurationOptionInner withServerConfigurationOptionValue(Integer serverConfigurationOptionValue)

Set the serverConfigurationOptionValue property: Value of the server configuration option.

Parameters:

serverConfigurationOptionValue - the serverConfigurationOptionValue value to set.

Returns:

the ServerConfigurationOptionInner object itself.

Applies to