ValidateMigrationInputSqlServerSqlMITaskInput Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. ValidateMigrationInputSqlServerSqlMITaskInput
- com.
Implements
public final class ValidateMigrationInputSqlServerSqlMITaskInput
implements JsonSerializable<ValidateMigrationInputSqlServerSqlMITaskInput>
Input for task that validates migration input for SQL to Azure SQL Managed Instance.
Constructor Summary
| Constructor | Description |
|---|---|
| ValidateMigrationInputSqlServerSqlMITaskInput() |
Creates an instance of Validate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Blob |
backupBlobShare()
Get the backup |
|
File |
backupFileShare()
Get the backup |
|
Backup |
backupMode()
Get the backup |
|
static
Validate |
fromJson(JsonReader jsonReader)
Reads an instance of Validate |
|
List<Migrate |
selectedDatabases()
Get the selected |
| List<String> |
selectedLogins()
Get the selected |
|
Sql |
sourceConnectionInfo()
Get the source |
|
Sql |
targetConnectionInfo()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Validate |
withBackupBlobShare(BlobShare backupBlobShare)
Set the backup |
|
Validate |
withBackupFileShare(FileShare backupFileShare)
Set the backup |
|
Validate |
withBackupMode(BackupMode backupMode)
Set the backup |
|
Validate |
withSelectedDatabases(List<MigrateSqlServerSqlMIDatabaseInput> selectedDatabases)
Set the selected |
|
Validate |
withSelectedLogins(List<String> selectedLogins)
Set the selected |
|
Validate |
withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the source |
|
Validate |
withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ValidateMigrationInputSqlServerSqlMITaskInput
public ValidateMigrationInputSqlServerSqlMITaskInput()
Creates an instance of ValidateMigrationInputSqlServerSqlMITaskInput class.
Method Details
backupBlobShare
public BlobShare backupBlobShare()
Get the backupBlobShare property: SAS URI of Azure Storage Account Container to be used for storing backup files.
Returns:
backupFileShare
public FileShare backupFileShare()
Get the backupFileShare property: Backup file share information for all selected databases.
Returns:
backupMode
public BackupMode backupMode()
Get the backupMode property: Backup Mode to specify whether to use existing backup or create new backup.
Returns:
fromJson
public static ValidateMigrationInputSqlServerSqlMITaskInput fromJson(JsonReader jsonReader)
Reads an instance of ValidateMigrationInputSqlServerSqlMITaskInput from the JsonReader.
Parameters:
Returns:
Throws:
selectedDatabases
public List<MigrateSqlServerSqlMIDatabaseInput> selectedDatabases()
Get the selectedDatabases property: Databases to migrate.
Returns:
selectedLogins
public List<String> selectedLogins()
Get the selectedLogins property: Logins to migrate.
Returns:
sourceConnectionInfo
public SqlConnectionInfo sourceConnectionInfo()
Get the sourceConnectionInfo property: Information for connecting to source.
Returns:
targetConnectionInfo
public SqlConnectionInfo targetConnectionInfo()
Get the targetConnectionInfo property: Information for connecting to target.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBackupBlobShare
public ValidateMigrationInputSqlServerSqlMITaskInput withBackupBlobShare(BlobShare backupBlobShare)
Set the backupBlobShare property: SAS URI of Azure Storage Account Container to be used for storing backup files.
Parameters:
Returns:
withBackupFileShare
public ValidateMigrationInputSqlServerSqlMITaskInput withBackupFileShare(FileShare backupFileShare)
Set the backupFileShare property: Backup file share information for all selected databases.
Parameters:
Returns:
withBackupMode
public ValidateMigrationInputSqlServerSqlMITaskInput withBackupMode(BackupMode backupMode)
Set the backupMode property: Backup Mode to specify whether to use existing backup or create new backup.
Parameters:
Returns:
withSelectedDatabases
public ValidateMigrationInputSqlServerSqlMITaskInput withSelectedDatabases(List<MigrateSqlServerSqlMIDatabaseInput> selectedDatabases)
Set the selectedDatabases property: Databases to migrate.
Parameters:
Returns:
withSelectedLogins
public ValidateMigrationInputSqlServerSqlMITaskInput withSelectedLogins(List<String> selectedLogins)
Set the selectedLogins property: Logins to migrate.
Parameters:
Returns:
withSourceConnectionInfo
public ValidateMigrationInputSqlServerSqlMITaskInput withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source.
Parameters:
Returns:
withTargetConnectionInfo
public ValidateMigrationInputSqlServerSqlMITaskInput withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Parameters:
Returns: