public class CreateMigrationRequest extends AbstractModel
Constructor and Description |
---|
CreateMigrationRequest() |
Modifier and Type | Method and Description |
---|---|
MigrateDB[] |
getMigrateDBSet()
Get Database objects to be migrated.
|
String |
getMigrateName()
Get Migration task name
|
Long |
getMigrateType()
Get Migration type (1: structure migration, 2: data migration, 3: incremental sync)
|
MigrateSource |
getSource()
Get Migration source
|
Long |
getSourceType()
Get Migration source type.
|
MigrateTarget |
getTarget()
Get Migration target
|
void |
setMigrateDBSet(MigrateDB[] MigrateDBSet)
Set Database objects to be migrated.
|
void |
setMigrateName(String MigrateName)
Set Migration task name
|
void |
setMigrateType(Long MigrateType)
Set Migration type (1: structure migration, 2: data migration, 3: incremental sync)
|
void |
setSource(MigrateSource Source)
Set Migration source
|
void |
setSourceType(Long SourceType)
Set Migration source type.
|
void |
setTarget(MigrateTarget Target)
Set Migration target
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getMigrateName()
public void setMigrateName(String MigrateName)
MigrateName
- Migration task namepublic Long getMigrateType()
public void setMigrateType(Long MigrateType)
MigrateType
- Migration type (1: structure migration, 2: data migration, 3: incremental sync)public Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)public MigrateSource getSource()
public void setSource(MigrateSource Source)
Source
- Migration sourcepublic MigrateTarget getTarget()
public void setTarget(MigrateTarget Target)
Target
- Migration targetpublic MigrateDB[] getMigrateDBSet()
public void setMigrateDBSet(MigrateDB[] MigrateDBSet)
MigrateDBSet
- Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5)Copyright © 2020. All rights reserved.