Class MigrateSqlServerSqlMIDatabaseInput

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

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

    • MigrateSqlServerSqlMIDatabaseInput

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

    • name

      public String name()
      Get the name property: Name of the database.
      Returns:
      the name value.
    • withName

      Set the name property: Name of the database.
      Parameters:
      name - the name value to set.
      Returns:
      the MigrateSqlServerSqlMIDatabaseInput object itself.
    • restoreDatabaseName

      public String restoreDatabaseName()
      Get the restoreDatabaseName property: Name of the database at destination.
      Returns:
      the restoreDatabaseName value.
    • withRestoreDatabaseName

      public MigrateSqlServerSqlMIDatabaseInput withRestoreDatabaseName(String restoreDatabaseName)
      Set the restoreDatabaseName property: Name of the database at destination.
      Parameters:
      restoreDatabaseName - the restoreDatabaseName value to set.
      Returns:
      the MigrateSqlServerSqlMIDatabaseInput object itself.
    • backupFileShare

      public FileShare backupFileShare()
      Get the backupFileShare property: Backup file share information for backing up this database.
      Returns:
      the backupFileShare value.
    • withBackupFileShare

      public MigrateSqlServerSqlMIDatabaseInput withBackupFileShare(FileShare backupFileShare)
      Set the backupFileShare property: Backup file share information for backing up this database.
      Parameters:
      backupFileShare - the backupFileShare value to set.
      Returns:
      the MigrateSqlServerSqlMIDatabaseInput object itself.
    • backupFilePaths

      public List<String> backupFilePaths()
      Get the backupFilePaths property: The list of backup files to be used in case of existing backups.
      Returns:
      the backupFilePaths value.
    • withBackupFilePaths

      public MigrateSqlServerSqlMIDatabaseInput withBackupFilePaths(List<String> backupFilePaths)
      Set the backupFilePaths property: The list of backup files to be used in case of existing backups.
      Parameters:
      backupFilePaths - the backupFilePaths value to set.
      Returns:
      the MigrateSqlServerSqlMIDatabaseInput object itself.
    • validate

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