Class MigrateSqlServerSqlDbSyncDatabaseInput

java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput

public final class MigrateSqlServerSqlDbSyncDatabaseInput extends Object
Database specific information for SQL to Azure SQL DB sync migration task inputs.
  • Constructor Details

    • MigrateSqlServerSqlDbSyncDatabaseInput

      public MigrateSqlServerSqlDbSyncDatabaseInput()
      Creates an instance of MigrateSqlServerSqlDbSyncDatabaseInput class.
  • Method Details

    • id

      public String 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

      public String 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

      public String targetDatabaseName()
      Get the targetDatabaseName property: Target database name.
      Returns:
      the targetDatabaseName value.
    • withTargetDatabaseName

      public MigrateSqlServerSqlDbSyncDatabaseInput withTargetDatabaseName(String targetDatabaseName)
      Set the targetDatabaseName property: Target database name.
      Parameters:
      targetDatabaseName - the targetDatabaseName value to set.
      Returns:
      the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
    • schemaName

      public String schemaName()
      Get the schemaName property: Schema name to be migrated.
      Returns:
      the schemaName value.
    • withSchemaName

      public MigrateSqlServerSqlDbSyncDatabaseInput withSchemaName(String schemaName)
      Set the schemaName property: Schema name to be migrated.
      Parameters:
      schemaName - the schemaName value to set.
      Returns:
      the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
    • tableMap

      public Map<String,String> tableMap()
      Get the tableMap property: Mapping of source to target tables.
      Returns:
      the tableMap value.
    • withTableMap

      public MigrateSqlServerSqlDbSyncDatabaseInput withTableMap(Map<String,String> tableMap)
      Set the tableMap property: Mapping of source to target tables.
      Parameters:
      tableMap - the tableMap value to set.
      Returns:
      the MigrateSqlServerSqlDbSyncDatabaseInput object itself.
    • migrationSetting

      public Map<String,String> 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

      public Map<String,String> sourceSetting()
      Get the sourceSetting property: Source settings to tune source endpoint migration behavior.
      Returns:
      the sourceSetting value.
    • withSourceSetting

      public MigrateSqlServerSqlDbSyncDatabaseInput withSourceSetting(Map<String,String> sourceSetting)
      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

      public Map<String,String> targetSetting()
      Get the targetSetting property: Target settings to tune target endpoint migration behavior.
      Returns:
      the targetSetting value.
    • withTargetSetting

      public MigrateSqlServerSqlDbSyncDatabaseInput withTargetSetting(Map<String,String> targetSetting)
      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.