Class MigrateSqlServerSqlMIDatabaseInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlMIDatabaseInput
Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MigrateSqlServerSqlMIDatabaseInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backupFilePaths property: The list of backup files to be used in case of existing backups.Get the backupFileShare property: Backup file share information for backing up this database.name()
Get the name property: Name of the database.Get the restoreDatabaseName property: Name of the database at destination.void
validate()
Validates the instance.withBackupFilePaths
(List<String> backupFilePaths) Set the backupFilePaths property: The list of backup files to be used in case of existing backups.withBackupFileShare
(FileShare backupFileShare) Set the backupFileShare property: Backup file share information for backing up this database.Set the name property: Name of the database.withRestoreDatabaseName
(String restoreDatabaseName) Set the restoreDatabaseName property: Name of the database at destination.
-
Constructor Details
-
MigrateSqlServerSqlMIDatabaseInput
public MigrateSqlServerSqlMIDatabaseInput()Creates an instance of MigrateSqlServerSqlMIDatabaseInput class.
-
-
Method Details
-
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
Get the restoreDatabaseName property: Name of the database at destination.- Returns:
- the restoreDatabaseName value.
-
withRestoreDatabaseName
Set the restoreDatabaseName property: Name of the database at destination.- Parameters:
restoreDatabaseName
- the restoreDatabaseName value to set.- Returns:
- the MigrateSqlServerSqlMIDatabaseInput object itself.
-
backupFilePaths
Get the backupFilePaths property: The list of backup files to be used in case of existing backups.- Returns:
- the backupFilePaths value.
-
withBackupFilePaths
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.
-