Class ValidateMigrationInputSqlServerSqlMITaskOutput
java.lang.Object
com.azure.resourcemanager.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskOutput
Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ValidateMigrationInputSqlServerSqlMITaskOutput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backupFolderErrors property: Errors associated with the BackupFolder path.Get the backupShareCredentialsErrors property: Errors associated with backup share user name and password credentials.Get the backupStorageAccountErrors property: Errors associated with the storage account provided.Get the databaseBackupInfo property: Information about backup files when existing backup mode is used.Get the existingBackupErrors property: Errors associated with existing backup files.id()
Get the id property: Result identifier.name()
Get the name property: Name of database.Get the restoreDatabaseNameErrors property: Errors associated with the RestoreDatabaseName.void
validate()
Validates the instance.withDatabaseBackupInfo
(DatabaseBackupInfo databaseBackupInfo) Set the databaseBackupInfo property: Information about backup files when existing backup mode is used.
-
Constructor Details
-
ValidateMigrationInputSqlServerSqlMITaskOutput
public ValidateMigrationInputSqlServerSqlMITaskOutput()Creates an instance of ValidateMigrationInputSqlServerSqlMITaskOutput class.
-
-
Method Details
-
id
Get the id property: Result identifier.- Returns:
- the id value.
-
name
Get the name property: Name of database.- Returns:
- the name value.
-
restoreDatabaseNameErrors
Get the restoreDatabaseNameErrors property: Errors associated with the RestoreDatabaseName.- Returns:
- the restoreDatabaseNameErrors value.
-
backupFolderErrors
Get the backupFolderErrors property: Errors associated with the BackupFolder path.- Returns:
- the backupFolderErrors value.
-
backupStorageAccountErrors
Get the backupStorageAccountErrors property: Errors associated with the storage account provided.- Returns:
- the backupStorageAccountErrors value.
-
existingBackupErrors
Get the existingBackupErrors property: Errors associated with existing backup files.- Returns:
- the existingBackupErrors value.
-
databaseBackupInfo
Get the databaseBackupInfo property: Information about backup files when existing backup mode is used.- Returns:
- the databaseBackupInfo value.
-
withDatabaseBackupInfo
public ValidateMigrationInputSqlServerSqlMITaskOutput withDatabaseBackupInfo(DatabaseBackupInfo databaseBackupInfo) Set the databaseBackupInfo property: Information about backup files when existing backup mode is used.- Parameters:
databaseBackupInfo
- the databaseBackupInfo value to set.- Returns:
- the ValidateMigrationInputSqlServerSqlMITaskOutput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-