public class ModifyMigrationRequest extends AbstractModel
Constructor and Description |
---|
ModifyMigrationRequest() |
Modifier and Type | Method and Description |
---|---|
MigrateDB[] |
getMigrateDBSet()
Get Database objects to be migrated.
|
Long |
getMigrateId()
Get Migration task ID
|
String |
getMigrateName()
Get New name of migration task.
|
Long |
getMigrateType()
Get New 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 |
setMigrateId(Long MigrateId)
Set Migration task ID
|
void |
setMigrateName(String MigrateName)
Set New name of migration task.
|
void |
setMigrateType(Long MigrateType)
Set New 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 Long getMigrateId()
public void setMigrateId(Long MigrateId)
MigrateId
- Migration task IDpublic String getMigrateName()
public void setMigrateName(String MigrateName)
MigrateName
- New name of migration task. If this parameter is left empty, no modification will be madepublic Long getMigrateType()
public void setMigrateType(Long MigrateType)
MigrateType
- New migration type (1: structure migration, 2: data migration, 3: incremental sync). If this parameter is left empty, no modification will be madepublic 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). If this parameter is left empty, no modification will be madepublic MigrateSource getSource()
public void setSource(MigrateSource Source)
Source
- Migration source. If this parameter is left empty, no modification will be madepublic MigrateTarget getTarget()
public void setTarget(MigrateTarget Target)
Target
- Migration target. If this parameter is left empty, no modification will be madepublic 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). If it left empty, no modification will be madeCopyright © 2020. All rights reserved.