public class ModifyMigrationRequest extends AbstractModel
Constructor and Description |
---|
ModifyMigrationRequest() |
ModifyMigrationRequest(ModifyMigrationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
MigrateDB[] |
getMigrateDBSet()
Get 迁移DB对象 ,离线迁移(SourceType=4或SourceType=5)不使用,若不填则不修改
|
Long |
getMigrateId()
Get 迁移任务ID
|
String |
getMigrateName()
Get 新的迁移任务的名称,若不填则不修改
|
Long |
getMigrateType()
Get 新的迁移类型(1:结构迁移 2:数据迁移 3:增量同步),若不填则不修改
|
MigrateSource |
getSource()
Get 迁移源,若不填则不修改
|
Long |
getSourceType()
Get 迁移源的类型 1:TencentDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式),若不填则不修改
|
MigrateTarget |
getTarget()
Get 迁移目标,若不填则不修改
|
void |
setMigrateDBSet(MigrateDB[] MigrateDBSet)
Set 迁移DB对象 ,离线迁移(SourceType=4或SourceType=5)不使用,若不填则不修改
|
void |
setMigrateId(Long MigrateId)
Set 迁移任务ID
|
void |
setMigrateName(String MigrateName)
Set 新的迁移任务的名称,若不填则不修改
|
void |
setMigrateType(Long MigrateType)
Set 新的迁移类型(1:结构迁移 2:数据迁移 3:增量同步),若不填则不修改
|
void |
setSource(MigrateSource Source)
Set 迁移源,若不填则不修改
|
void |
setSourceType(Long SourceType)
Set 迁移源的类型 1:TencentDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式),若不填则不修改
|
void |
setTarget(MigrateTarget Target)
Set 迁移目标,若不填则不修改
|
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 ModifyMigrationRequest()
public ModifyMigrationRequest(ModifyMigrationRequest source)
public Long getMigrateId()
public void setMigrateId(Long MigrateId)
MigrateId
- 迁移任务IDpublic String getMigrateName()
public void setMigrateName(String MigrateName)
MigrateName
- 新的迁移任务的名称,若不填则不修改public Long getMigrateType()
public void setMigrateType(Long MigrateType)
MigrateType
- 新的迁移类型(1:结构迁移 2:数据迁移 3:增量同步),若不填则不修改public Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- 迁移源的类型 1:TencentDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式),若不填则不修改public MigrateSource getSource()
public void setSource(MigrateSource Source)
Source
- 迁移源,若不填则不修改public MigrateTarget getTarget()
public void setTarget(MigrateTarget Target)
Target
- 迁移目标,若不填则不修改public MigrateDB[] getMigrateDBSet()
public void setMigrateDBSet(MigrateDB[] MigrateDBSet)
MigrateDBSet
- 迁移DB对象 ,离线迁移(SourceType=4或SourceType=5)不使用,若不填则不修改Copyright © 2021. All rights reserved.