ServerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. ServerProperties
- com.
Implements
public final class ServerProperties
implements JsonSerializable<ServerProperties>
Server properties for MySQL type source.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| Integer |
serverDatabaseCount()
Get the server |
| String |
serverEdition()
Get the server |
| String |
serverName()
Get the server |
| String |
serverOperatingSystemVersion()
Get the server |
| String |
serverPlatform()
Get the server |
| String |
serverVersion()
Get the server |
|
Json |
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:
Returns:
Throws:
serverDatabaseCount
public Integer serverDatabaseCount()
Get the serverDatabaseCount property: Number of databases in the server.
Returns:
serverEdition
public String serverEdition()
Get the serverEdition property: Edition of the database server.
Returns:
serverName
public String serverName()
Get the serverName property: Name of the server.
Returns:
serverOperatingSystemVersion
public String serverOperatingSystemVersion()
Get the serverOperatingSystemVersion property: Version of the operating system.
Returns:
serverPlatform
public String serverPlatform()
Get the serverPlatform property: Name of the server platform.
Returns:
serverVersion
public String serverVersion()
Get the serverVersion property: Version of the database server.
Returns:
toJson
validate
public void validate()
Validates the instance.