public class SrcInfo extends AbstractModel
| Constructor and Description | 
|---|
| SrcInfo() | 
| SrcInfo(SrcInfo 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 | getAccessKey()Get Alibaba Cloud AccessKey, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6 instance | 
| String | getCcnId()Get CCN instance ID, such as ccn-afp6kltc
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCvmInstanceId()Get Short CVM instance ID in the format of `ins-olgl39y8`. | 
| String | getEngineVersion()Get Database version. | 
| String | getInstanceId()Get Database instance ID in the format of cdb-powiqx8q | 
| String | getIp()Get Instance IP address | 
| String | getPassword()Get Instance password | 
| Long | getPort()Get Instance port | 
| String | getRdsInstanceId()Get Alibaba Cloud ApsaraDB for RDS instance ID, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6/5.7 instance | 
| String | getRegion()Get Region name, such as ap-guangzhou | 
| String | getSubnetId()Get VPC Subnet ID in the format of subnet-3paxmkdz | 
| String | getSupplier()Get For Alibaba Cloud ApsaraDB for RDS instances, enter "aliyun"; otherwise, enter "others" | 
| String | getUniqDcgId()Get Direct Connect gateway ID in the format of dcg-0rxtqqxb | 
| String | getUniqVpnGwId()Get VPN gateway ID in the format of vpngw-9ghexg7q | 
| String | getUser()Get Instance username | 
| String | getVpcId()Get VPC ID in the format of vpc-92jblxto | 
| void | setAccessKey(String AccessKey)Set Alibaba Cloud AccessKey, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6 instance | 
| void | setCcnId(String CcnId)Set CCN instance ID, such as ccn-afp6kltc
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCvmInstanceId(String CvmInstanceId)Set Short CVM instance ID in the format of `ins-olgl39y8`. | 
| void | setEngineVersion(String EngineVersion)Set Database version. | 
| void | setInstanceId(String InstanceId)Set Database instance ID in the format of cdb-powiqx8q | 
| void | setIp(String Ip)Set Instance IP address | 
| void | setPassword(String Password)Set Instance password | 
| void | setPort(Long Port)Set Instance port | 
| void | setRdsInstanceId(String RdsInstanceId)Set Alibaba Cloud ApsaraDB for RDS instance ID, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6/5.7 instance | 
| void | setRegion(String Region)Set Region name, such as ap-guangzhou | 
| void | setSubnetId(String SubnetId)Set VPC Subnet ID in the format of subnet-3paxmkdz | 
| void | setSupplier(String Supplier)Set For Alibaba Cloud ApsaraDB for RDS instances, enter "aliyun"; otherwise, enter "others" | 
| void | setUniqDcgId(String UniqDcgId)Set Direct Connect gateway ID in the format of dcg-0rxtqqxb | 
| void | setUniqVpnGwId(String UniqVpnGwId)Set VPN gateway ID in the format of vpngw-9ghexg7q | 
| void | setUser(String User)Set Instance username | 
| void | setVpcId(String VpcId)Set VPC ID in the format of vpc-92jblxto | 
| 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, toJsonStringpublic SrcInfo()
public SrcInfo(SrcInfo source)
public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey - Alibaba Cloud AccessKey, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6 instancepublic String getIp()
public void setIp(String Ip)
Ip - Instance IP addresspublic Long getPort()
public void setPort(Long Port)
Port - Instance portpublic String getUser()
public void setUser(String User)
User - Instance usernamepublic String getPassword()
public void setPassword(String Password)
Password - Instance passwordpublic String getRdsInstanceId()
public void setRdsInstanceId(String RdsInstanceId)
RdsInstanceId - Alibaba Cloud ApsaraDB for RDS instance ID, which is applicable if the source database is an Alibaba Cloud ApsaraDB for RDS 5.6/5.7 instancepublic String getCvmInstanceId()
public void setCvmInstanceId(String CvmInstanceId)
CvmInstanceId - Short CVM instance ID in the format of `ins-olgl39y8`. It is the same as the instance ID displayed on the CVM Console page. For CVM-based self-created instances, this field needs to be passed inpublic String getUniqDcgId()
public void setUniqDcgId(String UniqDcgId)
UniqDcgId - Direct Connect gateway ID in the format of dcg-0rxtqqxbpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID in the format of vpc-92jblxtopublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - VPC Subnet ID in the format of subnet-3paxmkdzpublic String getUniqVpnGwId()
public void setUniqVpnGwId(String UniqVpnGwId)
UniqVpnGwId - VPN gateway ID in the format of vpngw-9ghexg7qpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Database instance ID in the format of cdb-powiqx8qpublic String getRegion()
public void setRegion(String Region)
Region - Region name, such as ap-guangzhoupublic String getSupplier()
public void setSupplier(String Supplier)
Supplier - For Alibaba Cloud ApsaraDB for RDS instances, enter "aliyun"; otherwise, enter "others"public String getCcnId()
public void setCcnId(String CcnId)
CcnId - CCN instance ID, such as ccn-afp6kltc
Note: This field may return null, indicating that no valid values can be obtained.public String getEngineVersion()
public void setEngineVersion(String EngineVersion)
EngineVersion - Database version. This parameter is valid only when the instance is an RDS instance. Value: 5.6 or 5.7. Default value: 5.6Copyright © 2022. All rights reserved.