Class DBInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dts.v20211206.models.DBInfo
-
public class DBInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccount()Get 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。StringgetAccountMode()Get 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。StringgetAccountRole()Get 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。StringgetCcnGwId()Get 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。StringgetCvmInstanceId()Get CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetDbKernel()Get 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。StringgetEngineVersion()Get 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。StringgetHost()Get 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetInstanceId()Get 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetPassword()Get 实例的密码 注意:此字段可能返回 null,表示取不到有效值。LonggetPort()Get 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetRole()Get 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。StringgetSubnetId()Get 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpSecretId()Get 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpSecretKey()Get 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。StringgetTmpToken()Get 临时Token 注意:此字段可能返回 null,表示取不到有效值。StringgetUniqDcgId()Get 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetUniqVpnGwId()Get VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。StringgetUser()Get 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。StringgetVpcId()Get 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetAccount(String Account)Set 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。voidsetAccountMode(String AccountMode)Set 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。voidsetAccountRole(String AccountRole)Set 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。voidsetCcnGwId(String CcnGwId)Set 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。voidsetCvmInstanceId(String CvmInstanceId)Set CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetDbKernel(String DbKernel)Set 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。voidsetEngineVersion(String EngineVersion)Set 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。voidsetHost(String Host)Set 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetInstanceId(String InstanceId)Set 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetPassword(String Password)Set 实例的密码 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(Long Port)Set 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetRole(String Role)Set 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。voidsetSubnetId(String SubnetId)Set 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpSecretId(String TmpSecretId)Set 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpSecretKey(String TmpSecretKey)Set 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。voidsetTmpToken(String TmpToken)Set 临时Token 注意:此字段可能返回 null,表示取不到有效值。voidsetUniqDcgId(String UniqDcgId)Set 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetUniqVpnGwId(String UniqVpnGwId)Set VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidsetUser(String User)Set 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。voidsetVpcId(String VpcId)Set 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DBInfo
public DBInfo()
-
DBInfo
public DBInfo(DBInfo 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.
-
-
Method Detail
-
getRole
public String getRole()
Get 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Role 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。
-
setRole
public void setRole(String Role)
Set 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Role- 表示节点角色,针对分布式数据库,如mongodb中的mongos节点 注意:此字段可能返回 null,表示取不到有效值。
-
getDbKernel
public String getDbKernel()
Get 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DbKernel 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。
-
setDbKernel
public void setDbKernel(String DbKernel)
Set 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DbKernel- 内核版本,针对mariadb的不同内核版本等 注意:此字段可能返回 null,表示取不到有效值。
-
getHost
public String getHost()
Get 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Host 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setHost
public void setHost(String Host)
Set 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Host- 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getPort
public Long getPort()
Get 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Port 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setPort
public void setPort(Long Port)
Set 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Port- 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getUser
public String getUser()
Get 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- User 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。
-
setUser
public void setUser(String User)
Set 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
User- 实例的用户名 注意:此字段可能返回 null,表示取不到有效值。
-
getPassword
public String getPassword()
Get 实例的密码 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Password 实例的密码 注意:此字段可能返回 null,表示取不到有效值。
-
setPassword
public void setPassword(String Password)
Set 实例的密码 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Password- 实例的密码 注意:此字段可能返回 null,表示取不到有效值。
-
getCvmInstanceId
public String getCvmInstanceId()
Get CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CvmInstanceId CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setCvmInstanceId
public void setCvmInstanceId(String CvmInstanceId)
Set CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CvmInstanceId- CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getUniqVpnGwId
public String getUniqVpnGwId()
Get VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UniqVpnGwId VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setUniqVpnGwId
public void setUniqVpnGwId(String UniqVpnGwId)
Set VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UniqVpnGwId- VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getUniqDcgId
public String getUniqDcgId()
Get 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UniqDcgId 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setUniqDcgId
public void setUniqDcgId(String UniqDcgId)
Set 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UniqDcgId- 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getInstanceId
public String getInstanceId()
Get 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InstanceId 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InstanceId- 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getCcnGwId
public String getCcnGwId()
Get 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CcnGwId 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
-
setCcnGwId
public void setCcnGwId(String CcnGwId)
Set 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CcnGwId- 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
-
getVpcId
public String getVpcId()
Get 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- VpcId 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setVpcId
public void setVpcId(String VpcId)
Set 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
VpcId- 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getSubnetId
public String getSubnetId()
Get 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SubnetId 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
setSubnetId
public void setSubnetId(String SubnetId)
Set 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SubnetId- 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填 注意:此字段可能返回 null,表示取不到有效值。
-
getEngineVersion
public String getEngineVersion()
Get 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EngineVersion 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。
-
setEngineVersion
public void setEngineVersion(String EngineVersion)
Set 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EngineVersion- 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6 注意:此字段可能返回 null,表示取不到有效值。
-
getAccount
public String getAccount()
Get 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Account 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。
-
setAccount
public void setAccount(String Account)
Set 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Account- 实例所属账号 注意:此字段可能返回 null,表示取不到有效值。
-
getAccountRole
public String getAccountRole()
Get 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AccountRole 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。
-
setAccountRole
public void setAccountRole(String AccountRole)
Set 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AccountRole- 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+ 注意:此字段可能返回 null,表示取不到有效值。
-
getAccountMode
public String getAccountMode()
Get 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AccountMode 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。
-
setAccountMode
public void setAccountMode(String AccountMode)
Set 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AccountMode- 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源) 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpSecretId
public String getTmpSecretId()
Get 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpSecretId 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpSecretId
public void setTmpSecretId(String TmpSecretId)
Set 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpSecretId- 临时密钥Id 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpSecretKey
public String getTmpSecretKey()
Get 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpSecretKey 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpSecretKey
public void setTmpSecretKey(String TmpSecretKey)
Set 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpSecretKey- 临时密钥Key 注意:此字段可能返回 null,表示取不到有效值。
-
getTmpToken
public String getTmpToken()
Get 临时Token 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TmpToken 临时Token 注意:此字段可能返回 null,表示取不到有效值。
-
setTmpToken
public void setTmpToken(String TmpToken)
Set 临时Token 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TmpToken- 临时Token 注意:此字段可能返回 null,表示取不到有效值。
-
-