ServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.ServerProperties

Implements

public final class ServerProperties
implements JsonSerializable<ServerProperties>

Server properties for MySQL type source.

Constructor Summary

Constructor Description
ServerProperties()

Creates an instance of ServerProperties class.

Method Summary

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

Reads an instance of ServerProperties from the JsonReader.

Integer serverDatabaseCount()

Get the serverDatabaseCount property: Number of databases in the server.

String serverEdition()

Get the serverEdition property: Edition of the database server.

String serverName()

Get the serverName property: Name of the server.

String serverOperatingSystemVersion()

Get the serverOperatingSystemVersion property: Version of the operating system.

String serverPlatform()

Get the serverPlatform property: Name of the server platform.

String serverVersion()

Get the serverVersion property: Version of the database server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ServerProperties

public ServerProperties()

Creates an instance of ServerProperties class.

Method Details

fromJson

public static ServerProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ServerProperties.

serverDatabaseCount

public Integer serverDatabaseCount()

Get the serverDatabaseCount property: Number of databases in the server.

Returns:

the serverDatabaseCount value.

serverEdition

public String serverEdition()

Get the serverEdition property: Edition of the database server.

Returns:

the serverEdition value.

serverName

public String serverName()

Get the serverName property: Name of the server.

Returns:

the serverName value.

serverOperatingSystemVersion

public String serverOperatingSystemVersion()

Get the serverOperatingSystemVersion property: Version of the operating system.

Returns:

the serverOperatingSystemVersion value.

serverPlatform

public String serverPlatform()

Get the serverPlatform property: Name of the server platform.

Returns:

the serverPlatform value.

serverVersion

public String serverVersion()

Get the serverVersion property: Version of the database server.

Returns:

the serverVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to