public class Endpoint extends AbstractModel
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 |
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 |
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 ID of the temporary key, which is required if the operation is performed across accounts.
|
String |
getTmpSecretKey()
Get Key of the temporary key, which is required if the operation is performed across accounts.
|
String |
getTmpToken()
Get Temporary token, which is required if the operation is performed across accounts.
|
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 |
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 |
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 ID of the temporary key, which is required if the operation is performed across accounts.
|
void |
setTmpSecretKey(String TmpSecretKey)
Set Key of the temporary key, which is required if the operation is performed across accounts.
|
void |
setTmpToken(String TmpToken)
Set Temporary token, which is required if the operation is performed across accounts.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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
- ID of the temporary key, 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 getTmpSecretKey()
public void setTmpSecretKey(String TmpSecretKey)
TmpSecretKey
- Key of the temporary key, 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 getTmpToken()
public void setTmpToken(String TmpToken)
TmpToken
- Temporary token, 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 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.Copyright © 2023. All rights reserved.