public class Endpoint extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Endpoint() | 
| Endpoint(Endpoint 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 | getAccount()Get Instance account, which is required if the operation is performed across accounts. | 
| String | getAccountMode()Get The account to which the resource belongs. | 
| String | getAccountRole()Get The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts. | 
| String | getCcnId()Get CCN instance ID in the format of `ccn-afp6kltc`, which is required if the access type is `ccn`. | 
| String | getCcnOwnerUin()Get The root account of CCN in the scenario where the database is connected to CCN under another Tencent Cloud account
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| String | getChildInstanceId()Get | 
| String | getChildInstanceType()Get | 
| String | getCvmInstanceId()Get Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. | 
| String | getDatabaseNetEnv()Get Network environment of the database. | 
| String | getDbKernel()Get Database kernel type, which is used to distinguish between different kernels in TDSQL. | 
| String | getDbName()Get Database name, which is required if the database type is `cdwpg`. | 
| String | getEncryptConn()Get Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). | 
| String | getEngineVersion()Get Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. | 
| String | getInstanceId()Get Database instance ID in the format of `cdb-powiqx8q`
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getIp()Get Instance IP address, which is required if the access type is not `cdb`. | 
| String | getPassword()Get Password, which is required for an instance authenticated by username and password. | 
| Long | getPort()Get Instance port, which is required if the access type is not `cdb`. | 
| String | getRegion()Get Region name, such as `ap-guangzhou`. | 
| String | getRole()Get Node type of TDSQL for MySQL. | 
| String | getRoleExternalId()Get External role ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getSetId()Get | 
| String | getSubnetId()Get ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. | 
| String | getSupplier()Get Cloud vendor type. | 
| String | getTmpSecretId()Get Temporary SecretId, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| String | getTmpSecretKey()Get Temporary SecretKey, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| String | getTmpToken()Get Temporary token, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| String | getUniqDcgId()Get Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. | 
| String | getUniqVpnGwId()Get VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. | 
| String | getUser()Get Username, which is required for an instance authenticated by username and password. | 
| String | getVpcId()Get VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. | 
| void | setAccount(String Account)Set Instance account, which is required if the operation is performed across accounts. | 
| void | setAccountMode(String AccountMode)Set The account to which the resource belongs. | 
| void | setAccountRole(String AccountRole)Set The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts. | 
| void | setCcnId(String CcnId)Set CCN instance ID in the format of `ccn-afp6kltc`, which is required if the access type is `ccn`. | 
| void | setCcnOwnerUin(String CcnOwnerUin)Set The root account of CCN in the scenario where the database is connected to CCN under another Tencent Cloud account
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setChildInstanceId(String ChildInstanceId)Set | 
| void | setChildInstanceType(String ChildInstanceType)Set | 
| void | setCvmInstanceId(String CvmInstanceId)Set Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. | 
| void | setDatabaseNetEnv(String DatabaseNetEnv)Set Network environment of the database. | 
| void | setDbKernel(String DbKernel)Set Database kernel type, which is used to distinguish between different kernels in TDSQL. | 
| void | setDbName(String DbName)Set Database name, which is required if the database type is `cdwpg`. | 
| void | setEncryptConn(String EncryptConn)Set Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). | 
| void | setEngineVersion(String EngineVersion)Set Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. | 
| void | setInstanceId(String InstanceId)Set Database instance ID in the format of `cdb-powiqx8q`
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIp(String Ip)Set Instance IP address, which is required if the access type is not `cdb`. | 
| void | setPassword(String Password)Set Password, which is required for an instance authenticated by username and password. | 
| void | setPort(Long Port)Set Instance port, which is required if the access type is not `cdb`. | 
| void | setRegion(String Region)Set Region name, such as `ap-guangzhou`. | 
| void | setRole(String Role)Set Node type of TDSQL for MySQL. | 
| void | setRoleExternalId(String RoleExternalId)Set External role ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setSetId(String SetId)Set | 
| void | setSubnetId(String SubnetId)Set ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. | 
| void | setSupplier(String Supplier)Set Cloud vendor type. | 
| void | setTmpSecretId(String TmpSecretId)Set Temporary SecretId, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| void | setTmpSecretKey(String TmpSecretKey)Set Temporary SecretKey, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| void | setTmpToken(String TmpToken)Set Temporary token, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). | 
| void | setUniqDcgId(String UniqDcgId)Set Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. | 
| void | setUniqVpnGwId(String UniqVpnGwId)Set VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. | 
| void | setUser(String User)Set Username, which is required for an instance authenticated by username and password. | 
| void | setVpcId(String VpcId)Set VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Endpoint()
public Endpoint(Endpoint source)
public String getRegion()
public void setRegion(String Region)
Region - Region name, such as `ap-guangzhou`.
Note: This field may return null, indicating that no valid values can be obtained.public String getRole()
public void setRole(String Role)
Role - Node type of TDSQL for MySQL. Enumerated values: `proxy`, `set`.
Note: This field may return null, indicating that no valid values can be obtained.public String getDbKernel()
public void setDbKernel(String DbKernel)
DbKernel - Database kernel type, which is used to distinguish between different kernels in TDSQL. Valid values: `percona`, `mariadb`, `mysql`.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Database instance ID in the format of `cdb-powiqx8q`
Note: This field may return null, indicating that no valid values can be obtained.public String getIp()
public void setIp(String Ip)
Ip - Instance IP address, which is required if the access type is not `cdb`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getPort()
public void setPort(Long Port)
Port - Instance port, which is required if the access type is not `cdb`.
Note: This field may return null, indicating that no valid values can be obtained.public String getUser()
public void setUser(String User)
User - Username, which is required for an instance authenticated by username and password.
Note: This field may return null, indicating that no valid values can be obtained.public String getPassword()
public void setPassword(String Password)
Password - Password, which is required for an instance authenticated by username and password.
Note: This field may return null, indicating that no valid values can be obtained.public String getDbName()
public void setDbName(String DbName)
DbName - Database name, which is required if the database type is `cdwpg`.
Note: This field may return null, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`.
Note: This field may return null, indicating that no valid values can be obtained.public String getCvmInstanceId()
public void setCvmInstanceId(String CvmInstanceId)
CvmInstanceId - Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. It is the same as the instance ID displayed in the CVM console.
Note: This field may return null, indicating that no valid values can be obtained.public String getUniqDcgId()
public void setUniqDcgId(String UniqDcgId)
UniqDcgId - Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`.
Note: This field may return null, indicating that no valid values can be obtained.public String getUniqVpnGwId()
public void setUniqVpnGwId(String UniqVpnGwId)
UniqVpnGwId - VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`.
Note: This field may return null, indicating that no valid values can be obtained.public String getCcnId()
public void setCcnId(String CcnId)
CcnId - CCN instance ID in the format of `ccn-afp6kltc`, which is required if the access type is `ccn`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSupplier()
public void setSupplier(String Supplier)
Supplier - Cloud vendor type. For Alibaba Cloud ApsaraDB for RDS instances, enter `aliyun`; otherwise, enter `others`. Default value: `others`.
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 in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. Default value: `5.6`.
Note: This field may return null, indicating that no valid values can be obtained.public String getAccount()
public void setAccount(String Account)
Account - Instance account, which is required if the operation is performed across accounts.
Note: This field may return null, indicating that no valid values can be obtained.public String getAccountMode()
public void setAccountMode(String AccountMode)
AccountMode - The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account).
Note: This field may return null, indicating that no valid values can be obtained.public String getAccountRole()
public void setAccountRole(String AccountRole)
AccountRole - The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts.
Note: This field may return null, indicating that no valid values can be obtained.public String getRoleExternalId()
public void setRoleExternalId(String RoleExternalId)
RoleExternalId - External role ID
Note: This field may return null, indicating that no valid values can be obtained.public String getTmpSecretId()
public void setTmpSecretId(String TmpSecretId)
TmpSecretId - Temporary SecretId, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance.Note: This field may return null, indicating that no valid values can be obtained.public String getTmpSecretKey()
public void setTmpSecretKey(String TmpSecretKey)
TmpSecretKey - Temporary SecretKey, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance.Note: This field may return null, indicating that no valid values can be obtained.public String getTmpToken()
public void setTmpToken(String TmpToken)
TmpToken - Temporary token, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance. Note: This field may return null, indicating that no valid values can be obtained.public String getEncryptConn()
public void setEncryptConn(String EncryptConn)
EncryptConn - Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). Default value: `UnEncrypted`.
Note: This field may return null, indicating that no valid values can be obtained.public String getDatabaseNetEnv()
public void setDatabaseNetEnv(String DatabaseNetEnv)
DatabaseNetEnv - Network environment of the database. This parameter is required when `AccessType` is `ccn`. Valid values: `UserIDC` (user IDC), `TencentVPC` (Tencent Cloud VPC).
Note: This field may return null, indicating that no valid values can be obtained.public String getCcnOwnerUin()
public void setCcnOwnerUin(String CcnOwnerUin)
CcnOwnerUin - The root account of CCN in the scenario where the database is connected to CCN under another Tencent Cloud account
Note: This field may return `null`, indicating that no valid values can be obtained.public String getChildInstanceId()
public void setChildInstanceId(String ChildInstanceId)
ChildInstanceId - public String getChildInstanceType()
public void setChildInstanceType(String ChildInstanceType)
ChildInstanceType - public String getSetId()
public void setSetId(String SetId)
SetId - Copyright © 2025. All rights reserved.