public class MySQLConnectParam extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MySQLConnectParam() | 
| MySQLConnectParam(MySQLConnectParam 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 | getClusterId()Get 当type为TDSQL_C_MYSQL时,必填 | 
| Boolean | getIsUpdate()Get 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getPassword()Get MySQL连接源的密码 | 
| Long | getPort()Get MySQL的连接port | 
| String | getResource()Get MySQL连接源的实例资源 | 
| Boolean | getSelfBuilt()Get Mysql 连接源是否为自建集群 | 
| String | getServiceVip()Get MySQL连接源的实例vip,当为腾讯云实例时,必填 | 
| String | getUniqVpcId()Get MySQL连接源的vpcId,当为腾讯云实例时,必填 | 
| String | getUserName()Get MySQL连接源的用户名 | 
| void | setClusterId(String ClusterId)Set 当type为TDSQL_C_MYSQL时,必填 | 
| void | setIsUpdate(Boolean IsUpdate)Set 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPassword(String Password)Set MySQL连接源的密码 | 
| void | setPort(Long Port)Set MySQL的连接port | 
| void | setResource(String Resource)Set MySQL连接源的实例资源 | 
| void | setSelfBuilt(Boolean SelfBuilt)Set Mysql 连接源是否为自建集群 | 
| void | setServiceVip(String ServiceVip)Set MySQL连接源的实例vip,当为腾讯云实例时,必填 | 
| void | setUniqVpcId(String UniqVpcId)Set MySQL连接源的vpcId,当为腾讯云实例时,必填 | 
| void | setUserName(String UserName)Set MySQL连接源的用户名 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic MySQLConnectParam()
public MySQLConnectParam(MySQLConnectParam source)
public Long getPort()
public void setPort(Long Port)
Port - MySQL的连接portpublic String getUserName()
public void setUserName(String UserName)
UserName - MySQL连接源的用户名public String getPassword()
public void setPassword(String Password)
Password - MySQL连接源的密码public String getResource()
public void setResource(String Resource)
Resource - MySQL连接源的实例资源public String getServiceVip()
public void setServiceVip(String ServiceVip)
ServiceVip - MySQL连接源的实例vip,当为腾讯云实例时,必填public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId - MySQL连接源的vpcId,当为腾讯云实例时,必填public Boolean getIsUpdate()
public void setIsUpdate(Boolean IsUpdate)
IsUpdate - 是否更新到关联的Datahub任务
注意:此字段可能返回 null,表示取不到有效值。public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 当type为TDSQL_C_MYSQL时,必填public Boolean getSelfBuilt()
public void setSelfBuilt(Boolean SelfBuilt)
SelfBuilt - Mysql 连接源是否为自建集群Copyright © 2025. All rights reserved.