ValidateSyncMigrationInputSqlServerTaskInput Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. ValidateSyncMigrationInputSqlServerTaskInput
- com.
Implements
public final class ValidateSyncMigrationInputSqlServerTaskInput
implements JsonSerializable<ValidateSyncMigrationInputSqlServerTaskInput>
Input for task that validates migration input for SQL sync migrations.
Constructor Summary
| Constructor | Description |
|---|---|
| ValidateSyncMigrationInputSqlServerTaskInput() |
Creates an instance of Validate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Validate |
fromJson(JsonReader jsonReader)
Reads an instance of Validate |
|
List<Migrate |
selectedDatabases()
Get the selected |
|
Sql |
sourceConnectionInfo()
Get the source |
|
Sql |
targetConnectionInfo()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Validate |
withSelectedDatabases(List<MigrateSqlServerSqlDbSyncDatabaseInput> selectedDatabases)
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
ValidateSyncMigrationInputSqlServerTaskInput
public ValidateSyncMigrationInputSqlServerTaskInput()
Creates an instance of ValidateSyncMigrationInputSqlServerTaskInput class.
Method Details
fromJson
public static ValidateSyncMigrationInputSqlServerTaskInput fromJson(JsonReader jsonReader)
Reads an instance of ValidateSyncMigrationInputSqlServerTaskInput from the JsonReader.
Parameters:
Returns:
Throws:
selectedDatabases
public List<MigrateSqlServerSqlDbSyncDatabaseInput> selectedDatabases()
Get the selectedDatabases property: Databases to migrate.
Returns:
sourceConnectionInfo
public SqlConnectionInfo sourceConnectionInfo()
Get the sourceConnectionInfo property: Information for connecting to source SQL server.
Returns:
targetConnectionInfo
public SqlConnectionInfo targetConnectionInfo()
Get the targetConnectionInfo property: Information for connecting to target.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSelectedDatabases
public ValidateSyncMigrationInputSqlServerTaskInput withSelectedDatabases(List<MigrateSqlServerSqlDbSyncDatabaseInput> selectedDatabases)
Set the selectedDatabases property: Databases to migrate.
Parameters:
Returns:
withSourceConnectionInfo
public ValidateSyncMigrationInputSqlServerTaskInput withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source SQL server.
Parameters:
Returns:
withTargetConnectionInfo
public ValidateSyncMigrationInputSqlServerTaskInput withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Parameters:
Returns: