Class ValidateMigrationInputSqlServerSqlMITaskOutput

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

public final class ValidateMigrationInputSqlServerSqlMITaskOutput extends Object
Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations.
  • Constructor Details

    • ValidateMigrationInputSqlServerSqlMITaskOutput

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

    • id

      public String id()
      Get the id property: Result identifier.
      Returns:
      the id value.
    • name

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

      public List<ReportableException> restoreDatabaseNameErrors()
      Get the restoreDatabaseNameErrors property: Errors associated with the RestoreDatabaseName.
      Returns:
      the restoreDatabaseNameErrors value.
    • backupFolderErrors

      public List<ReportableException> backupFolderErrors()
      Get the backupFolderErrors property: Errors associated with the BackupFolder path.
      Returns:
      the backupFolderErrors value.
    • backupShareCredentialsErrors

      public List<ReportableException> backupShareCredentialsErrors()
      Get the backupShareCredentialsErrors property: Errors associated with backup share user name and password credentials.
      Returns:
      the backupShareCredentialsErrors value.
    • backupStorageAccountErrors

      public List<ReportableException> backupStorageAccountErrors()
      Get the backupStorageAccountErrors property: Errors associated with the storage account provided.
      Returns:
      the backupStorageAccountErrors value.
    • existingBackupErrors

      public List<ReportableException> existingBackupErrors()
      Get the existingBackupErrors property: Errors associated with existing backup files.
      Returns:
      the existingBackupErrors value.
    • databaseBackupInfo

      public DatabaseBackupInfo 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.