Class MigrateSqlServerSqlDbSyncDatabaseInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput
Database specific information for SQL to Azure SQL DB sync migration task inputs.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MigrateSqlServerSqlDbSyncDatabaseInput class. -
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: Unique identifier for database.Get the migrationSetting property: Migration settings which tune the migration behavior.name()
Get the name property: Name of database.Get the schemaName property: Schema name to be migrated.Get the sourceSetting property: Source settings to tune source endpoint migration behavior.tableMap()
Get the tableMap property: Mapping of source to target tables.Get the targetDatabaseName property: Target database name.Get the targetSetting property: Target settings to tune target endpoint migration behavior.void
validate()
Validates the instance.Set the id property: Unique identifier for database.withMigrationSetting
(Map<String, String> migrationSetting) Set the migrationSetting property: Migration settings which tune the migration behavior.Set the name property: Name of database.withSchemaName
(String schemaName) Set the schemaName property: Schema name to be migrated.withSourceSetting
(Map<String, String> sourceSetting) Set the sourceSetting property: Source settings to tune source endpoint migration behavior.withTableMap
(Map<String, String> tableMap) Set the tableMap property: Mapping of source to target tables.withTargetDatabaseName
(String targetDatabaseName) Set the targetDatabaseName property: Target database name.withTargetSetting
(Map<String, String> targetSetting) Set the targetSetting property: Target settings to tune target endpoint migration behavior.
-
Constructor Details
-
MigrateSqlServerSqlDbSyncDatabaseInput
public MigrateSqlServerSqlDbSyncDatabaseInput()Creates an instance of MigrateSqlServerSqlDbSyncDatabaseInput class.
-
-
Method Details
-
id
Get the id property: Unique identifier for database.- Returns:
- the id value.
-
withId
Set the id property: Unique identifier for database.- Parameters:
id
- the id value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
name
Get the name property: Name of database.- Returns:
- the name value.
-
withName
Set the name property: Name of database.- Parameters:
name
- the name value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
targetDatabaseName
Get the targetDatabaseName property: Target database name.- Returns:
- the targetDatabaseName value.
-
withTargetDatabaseName
Set the targetDatabaseName property: Target database name.- Parameters:
targetDatabaseName
- the targetDatabaseName value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
schemaName
Get the schemaName property: Schema name to be migrated.- Returns:
- the schemaName value.
-
withSchemaName
Set the schemaName property: Schema name to be migrated.- Parameters:
schemaName
- the schemaName value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
tableMap
Get the tableMap property: Mapping of source to target tables.- Returns:
- the tableMap value.
-
withTableMap
Set the tableMap property: Mapping of source to target tables.- Parameters:
tableMap
- the tableMap value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
migrationSetting
Get the migrationSetting property: Migration settings which tune the migration behavior.- Returns:
- the migrationSetting value.
-
withMigrationSetting
public MigrateSqlServerSqlDbSyncDatabaseInput withMigrationSetting(Map<String, String> migrationSetting) Set the migrationSetting property: Migration settings which tune the migration behavior.- Parameters:
migrationSetting
- the migrationSetting value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
sourceSetting
Get the sourceSetting property: Source settings to tune source endpoint migration behavior.- Returns:
- the sourceSetting value.
-
withSourceSetting
Set the sourceSetting property: Source settings to tune source endpoint migration behavior.- Parameters:
sourceSetting
- the sourceSetting value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
targetSetting
Get the targetSetting property: Target settings to tune target endpoint migration behavior.- Returns:
- the targetSetting value.
-
withTargetSetting
Set the targetSetting property: Target settings to tune target endpoint migration behavior.- Parameters:
targetSetting
- the targetSetting value to set.- Returns:
- the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-