SqlDbOfflineConfiguration Class

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

Implements

public final class SqlDbOfflineConfiguration
implements JsonSerializable<SqlDbOfflineConfiguration>

Offline configuration.

Constructor Summary

Constructor Description
SqlDbOfflineConfiguration()

Creates an instance of SqlDbOfflineConfiguration class.

Method Summary

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

Reads an instance of SqlDbOfflineConfiguration from the JsonReader.

Boolean offline()

Get the offline property: Offline migration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SqlDbOfflineConfiguration

public SqlDbOfflineConfiguration()

Creates an instance of SqlDbOfflineConfiguration class.

Method Details

fromJson

public static SqlDbOfflineConfiguration fromJson(JsonReader jsonReader)

Reads an instance of SqlDbOfflineConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offline

public Boolean offline()

Get the offline property: Offline migration.

Returns:

the offline value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to