ServerConfigurationOptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.ServerConfigurationOptionProperties

Implements

public final class ServerConfigurationOptionProperties
implements JsonSerializable<ServerConfigurationOptionProperties>

The properties of server configuration option.

Constructor Summary

Constructor Description
ServerConfigurationOptionProperties()

Creates an instance of ServerConfigurationOptionProperties class.

Method Summary

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

Reads an instance of ServerConfigurationOptionProperties from the JsonReader.

ProvisioningState provisioningState()

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

int serverConfigurationOptionValue()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServerConfigurationOptionProperties withServerConfigurationOptionValue(int serverConfigurationOptionValue)

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

Methods inherited from java.lang.Object

Constructor Details

ServerConfigurationOptionProperties

public ServerConfigurationOptionProperties()

Creates an instance of ServerConfigurationOptionProperties class.

Method Details

fromJson

public static ServerConfigurationOptionProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerConfigurationOptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerConfigurationOptionProperties 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.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

serverConfigurationOptionValue

public int serverConfigurationOptionValue()

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

Returns:

the serverConfigurationOptionValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withServerConfigurationOptionValue

public ServerConfigurationOptionProperties withServerConfigurationOptionValue(int serverConfigurationOptionValue)

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

Parameters:

serverConfigurationOptionValue - the serverConfigurationOptionValue value to set.

Returns:

the ServerConfigurationOptionProperties object itself.

Applies to