DatabaseMigrationPropertiesSqlDb Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. DatabaseMigrationBaseProperties - com.
azure. resourcemanager. datamigration. models. DatabaseMigrationProperties - com.
azure. resourcemanager. datamigration. models. DatabaseMigrationPropertiesSqlDb
- com.
- com.
- com.
public final class DatabaseMigrationPropertiesSqlDb
extends DatabaseMigrationProperties
Database Migration Resource properties for SQL database.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseMigrationPropertiesSqlDb() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
|
Resource |
kind()
Get the kind property: The kind property. |
|
Sql |
migrationStatusDetails()
Get the migration |
|
Sql |
offlineConfiguration()
Get the offline |
| List<String> |
tableList()
Get the table |
|
Sql |
targetSqlConnection()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Database |
withMigrationOperationId(String migrationOperationId)
Set the migration |
|
Database |
withMigrationService(String migrationService)
Set the migration |
|
Database |
withProvisioningError(String provisioningError)
Set the provisioning |
|
Database |
withScope(String scope)
Set the scope property: Resource Id of the target resource. |
|
Database |
withSourceDatabaseName(String sourceDatabaseName)
Set the source |
|
Database |
withSourceSqlConnection(SqlConnectionInformation sourceSqlConnection)
Set the source |
|
Database |
withTableList(List<String> tableList)
Set the table |
|
Database |
withTargetDatabaseCollation(String targetDatabaseCollation)
Set the target |
|
Database |
withTargetSqlConnection(SqlConnectionInformation targetSqlConnection)
Set the target |
Methods inherited from DatabaseMigrationBaseProperties
Methods inherited from DatabaseMigrationProperties
Methods inherited from java.lang.Object
Constructor Details
DatabaseMigrationPropertiesSqlDb
public DatabaseMigrationPropertiesSqlDb()
Creates an instance of DatabaseMigrationPropertiesSqlDb class.
Method Details
fromJson
public static DatabaseMigrationPropertiesSqlDb fromJson(JsonReader jsonReader)
Reads an instance of DatabaseMigrationPropertiesSqlDb from the JsonReader.
Parameters:
Returns:
Throws:
kind
public ResourceType kind()
Get the kind property: The kind property.
Overrides:
DatabaseMigrationPropertiesSqlDb.kind()Returns:
migrationStatusDetails
public SqlDbMigrationStatusDetails migrationStatusDetails()
Get the migrationStatusDetails property: Detailed migration status. Not included by default.
Returns:
offlineConfiguration
public SqlDbOfflineConfiguration offlineConfiguration()
Get the offlineConfiguration property: Offline configuration.
Returns:
tableList
public List<String> tableList()
Get the tableList property: List of tables to copy.
Returns:
targetSqlConnection
public SqlConnectionInformation targetSqlConnection()
Get the targetSqlConnection property: Target SQL DB connection details.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatabaseMigrationPropertiesSqlDb.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DatabaseMigrationPropertiesSqlDb.validate()withMigrationOperationId
public DatabaseMigrationPropertiesSqlDb withMigrationOperationId(String migrationOperationId)
Set the migrationOperationId property: ID for current migration operation.
Overrides:
DatabaseMigrationPropertiesSqlDb.withMigrationOperationId(String migrationOperationId)Parameters:
withMigrationService
public DatabaseMigrationPropertiesSqlDb withMigrationService(String migrationService)
Set the migrationService property: Resource Id of the Migration Service.
Overrides:
DatabaseMigrationPropertiesSqlDb.withMigrationService(String migrationService)Parameters:
withProvisioningError
public DatabaseMigrationPropertiesSqlDb withProvisioningError(String provisioningError)
Set the provisioningError property: Error message for migration provisioning failure, if any.
Overrides:
DatabaseMigrationPropertiesSqlDb.withProvisioningError(String provisioningError)Parameters:
withScope
public DatabaseMigrationPropertiesSqlDb withScope(String scope)
Set the scope property: Resource Id of the target resource.
Overrides:
DatabaseMigrationPropertiesSqlDb.withScope(String scope)Parameters:
withSourceDatabaseName
public DatabaseMigrationPropertiesSqlDb withSourceDatabaseName(String sourceDatabaseName)
Set the sourceDatabaseName property: Name of the source database.
Overrides:
DatabaseMigrationPropertiesSqlDb.withSourceDatabaseName(String sourceDatabaseName)Parameters:
withSourceSqlConnection
public DatabaseMigrationPropertiesSqlDb withSourceSqlConnection(SqlConnectionInformation sourceSqlConnection)
Set the sourceSqlConnection property: Source SQL Server connection details.
Overrides:
DatabaseMigrationPropertiesSqlDb.withSourceSqlConnection(SqlConnectionInformation sourceSqlConnection)Parameters:
withTableList
public DatabaseMigrationPropertiesSqlDb withTableList(List<String> tableList)
Set the tableList property: List of tables to copy.
Parameters:
Returns:
withTargetDatabaseCollation
public DatabaseMigrationPropertiesSqlDb withTargetDatabaseCollation(String targetDatabaseCollation)
Set the targetDatabaseCollation property: Database collation to be used for the target database.
Overrides:
DatabaseMigrationPropertiesSqlDb.withTargetDatabaseCollation(String targetDatabaseCollation)Parameters:
withTargetSqlConnection
public DatabaseMigrationPropertiesSqlDb withTargetSqlConnection(SqlConnectionInformation targetSqlConnection)
Set the targetSqlConnection property: Target SQL DB connection details.
Parameters:
Returns: