Class MigrateMySqlAzureDbForMySqlSyncTaskInput

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

public final class MigrateMySqlAzureDbForMySqlSyncTaskInput extends Object
Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations.
  • Constructor Details

    • MigrateMySqlAzureDbForMySqlSyncTaskInput

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

    • sourceConnectionInfo

      public MySqlConnectionInfo sourceConnectionInfo()
      Get the sourceConnectionInfo property: Connection information for source MySQL.
      Returns:
      the sourceConnectionInfo value.
    • withSourceConnectionInfo

      public MigrateMySqlAzureDbForMySqlSyncTaskInput withSourceConnectionInfo(MySqlConnectionInfo sourceConnectionInfo)
      Set the sourceConnectionInfo property: Connection information for source MySQL.
      Parameters:
      sourceConnectionInfo - the sourceConnectionInfo value to set.
      Returns:
      the MigrateMySqlAzureDbForMySqlSyncTaskInput object itself.
    • targetConnectionInfo

      public MySqlConnectionInfo targetConnectionInfo()
      Get the targetConnectionInfo property: Connection information for target Azure Database for MySQL.
      Returns:
      the targetConnectionInfo value.
    • withTargetConnectionInfo

      public MigrateMySqlAzureDbForMySqlSyncTaskInput withTargetConnectionInfo(MySqlConnectionInfo targetConnectionInfo)
      Set the targetConnectionInfo property: Connection information for target Azure Database for MySQL.
      Parameters:
      targetConnectionInfo - the targetConnectionInfo value to set.
      Returns:
      the MigrateMySqlAzureDbForMySqlSyncTaskInput object itself.
    • selectedDatabases

      Get the selectedDatabases property: Databases to migrate.
      Returns:
      the selectedDatabases value.
    • withSelectedDatabases

      Set the selectedDatabases property: Databases to migrate.
      Parameters:
      selectedDatabases - the selectedDatabases value to set.
      Returns:
      the MigrateMySqlAzureDbForMySqlSyncTaskInput object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.