public class MigrateSource extends AbstractModel
Constructor and Description |
---|
MigrateSource() |
MigrateSource(MigrateSource 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 |
---|---|
String |
getCvmId()
Get ID of source CVM instance, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
String |
getInstanceId()
Get Source instance ID in the format of `mssql-si2823jyl`, which is used when `MigrateType` is 1 (TencentDB for SQL Server)
|
String |
getIp()
Get Private IP of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
String |
getPassword()
Get Password, which is used when `MigrateType` is 1 or 2
|
Long |
getPort()
Get Port number of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
String |
getSubnetId()
Get VPC subnet ID of source CVM instance in the format of subnet-h9extioi, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
String[] |
getUrl()
Get Source backup address for offline migration, which is used when `MigrateType` is 4 or 5
|
String |
getUrlPassword()
Get Source backup password for offline migration, which is used when `MigrateType` is 4 or 5
|
String |
getUserName()
Get Username, which is used when `MigrateType` is 1 or 2
|
String |
getVpcId()
Get VPC ID of source CVM instance in the format of vpc-6ys9ont9, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
void |
setCvmId(String CvmId)
Set ID of source CVM instance, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
void |
setInstanceId(String InstanceId)
Set Source instance ID in the format of `mssql-si2823jyl`, which is used when `MigrateType` is 1 (TencentDB for SQL Server)
|
void |
setIp(String Ip)
Set Private IP of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
void |
setPassword(String Password)
Set Password, which is used when `MigrateType` is 1 or 2
|
void |
setPort(Long Port)
Set Port number of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID of source CVM instance in the format of subnet-h9extioi, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
void |
setUrl(String[] Url)
Set Source backup address for offline migration, which is used when `MigrateType` is 4 or 5
|
void |
setUrlPassword(String UrlPassword)
Set Source backup password for offline migration, which is used when `MigrateType` is 4 or 5
|
void |
setUserName(String UserName)
Set Username, which is used when `MigrateType` is 1 or 2
|
void |
setVpcId(String VpcId)
Set VPC ID of source CVM instance in the format of vpc-6ys9ont9, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
|
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 MigrateSource()
public MigrateSource(MigrateSource source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Source instance ID in the format of `mssql-si2823jyl`, which is used when `MigrateType` is 1 (TencentDB for SQL Server)public String getCvmId()
public void setCvmId(String CvmId)
CvmId
- ID of source CVM instance, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID of source CVM instance in the format of vpc-6ys9ont9, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID of source CVM instance in the format of subnet-h9extioi, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)public String getUserName()
public void setUserName(String UserName)
UserName
- Username, which is used when `MigrateType` is 1 or 2public String getPassword()
public void setPassword(String Password)
Password
- Password, which is used when `MigrateType` is 1 or 2public String getIp()
public void setIp(String Ip)
Ip
- Private IP of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)public Long getPort()
public void setPort(Long Port)
Port
- Port number of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)public String[] getUrl()
public void setUrl(String[] Url)
Url
- Source backup address for offline migration, which is used when `MigrateType` is 4 or 5public String getUrlPassword()
public void setUrlPassword(String UrlPassword)
UrlPassword
- Source backup password for offline migration, which is used when `MigrateType` is 4 or 5Copyright © 2023. All rights reserved.