public class EndpointItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
EndpointItem() |
EndpointItem(EndpointItem 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 |
getCcnId()
Get Cloud Connect Network ID.
|
String |
getCcnOwnerUin()
Get The UIN of the main account to which the Cloud Connect Network gateway belongs.
|
String |
getChildInstanceId()
Get
|
String |
getChildInstanceType()
Get
|
String |
getCvmInstanceId()
Get Cloud Virtual Machine ID.
|
String |
getDatabaseNetEnv()
Get Database network environment.
|
String |
getDatabaseRegion()
Get Region of the source database.
|
String |
getEncryptConn()
Get Whether to use encrypted transmission.
|
KeyValuePairOption[] |
getExtraAttr()
Get Additional information added for the business.
|
String |
getHostName()
Get Database address, supports domain name and IP.
|
String |
getInstanceId()
Get Target instance ID.
|
String |
getPassword()
Get Password.
|
Long |
getPort()
Get Database port.
|
String |
getSubnetId()
Get Subnet ID.
|
String |
getUniqDcgId()
Get Direct Connect gateway ID.
|
String |
getUniqVpnGwId()
Get VPN gateway ID.
|
String |
getUser()
Get UsernameNote: This field may return null, indicating that no valid values can be obtained.
|
String |
getVpcId()
Get VpcID.
|
void |
setCcnId(String CcnId)
Set Cloud Connect Network ID.
|
void |
setCcnOwnerUin(String CcnOwnerUin)
Set The UIN of the main account to which the Cloud Connect Network gateway belongs.
|
void |
setChildInstanceId(String ChildInstanceId)
Set
|
void |
setChildInstanceType(String ChildInstanceType)
Set
|
void |
setCvmInstanceId(String CvmInstanceId)
Set Cloud Virtual Machine ID.
|
void |
setDatabaseNetEnv(String DatabaseNetEnv)
Set Database network environment.
|
void |
setDatabaseRegion(String DatabaseRegion)
Set Region of the source database.
|
void |
setEncryptConn(String EncryptConn)
Set Whether to use encrypted transmission.
|
void |
setExtraAttr(KeyValuePairOption[] ExtraAttr)
Set Additional information added for the business.
|
void |
setHostName(String HostName)
Set Database address, supports domain name and IP.
|
void |
setInstanceId(String InstanceId)
Set Target instance ID.
|
void |
setPassword(String Password)
Set Password.
|
void |
setPort(Long Port)
Set Database port.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID.
|
void |
setUniqDcgId(String UniqDcgId)
Set Direct Connect gateway ID.
|
void |
setUniqVpnGwId(String UniqVpnGwId)
Set VPN gateway ID.
|
void |
setUser(String User)
Set UsernameNote: This field may return null, indicating that no valid values can be obtained.
|
void |
setVpcId(String VpcId)
Set VpcID.
|
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, toJsonString
public EndpointItem()
public EndpointItem(EndpointItem source)
public String getDatabaseRegion()
public void setDatabaseRegion(String DatabaseRegion)
DatabaseRegion
- Region of the source database. If AccessType is ccn, please fill in the region where vpc is located because the region of the source database is unknown. For other access methods, please fill in the region where the subscription task is located, as ensuring the subscription task and the source database are in the same region is the optimal network solution.Note: This field may return null, indicating that no valid values can be obtained.public String getUser()
public void setUser(String User)
User
- UsernameNote: This field may return null, indicating that no valid values can be obtained.public String getPassword()
public void setPassword(String Password)
Password
- Password. It is required when used as an input parameter and empty when used as an output parameter.Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Target instance ID. This field is required when AccessType is cdb. When configuring the InstanceId, the instance information is queried and checked. The mysql query interface has been authenticated. Please ensure that the sub-user has the cdb:DescribeDBInstances interface permission.Note: This field may return null, indicating that no valid values can be obtained.public String getCvmInstanceId()
public void setCvmInstanceId(String CvmInstanceId)
CvmInstanceId
- Cloud Virtual Machine ID. This field is required when AccessType is cvm.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. This field is required when AccessType is dcg.Note: This field may return null, indicating that no valid values can be obtained.public String getCcnId()
public void setCcnId(String CcnId)
CcnId
- Cloud Connect Network ID. This field is required when AccessType is ccn.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. This field is required when AccessType is vpncloud.Note: This field may return null, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VpcID. This field is required when AccessType is dcg\ccn\vpncloud\vpc.Note: This field may return null, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID. This field is required when AccessType is dcg\ccn\vpncloud\vpc.Note: This field may return null, indicating that no valid values can be obtained.public String getHostName()
public void setHostName(String HostName)
HostName
- Database address, supports domain name and IP. This field is required when AccessType is dcg\ccn\vpncloud\vpc\extranet\intranet.Note: This field may return null, indicating that no valid values can be obtained.public Long getPort()
public void setPort(Long Port)
Port
- Database port. This field is required when AccessType is dcg\ccn\vpncloud\vpc\extranet\intranet\cvm.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 use encrypted transmission. Valid values: UnEncrypted; Encrypted. Only mysql supports it. If it is not filled in, it will not be encrypted by default. Other products do not need to fill in this.Note: This field may return null, indicating that no valid values can be obtained.public String getDatabaseNetEnv()
public void setDatabaseNetEnv(String DatabaseNetEnv)
DatabaseNetEnv
- Database network environment. This field is required when AccessType is ccn. Valid values: UserIDC; TencentVPC; Aws; AliYun; Others.Note: This field may return null, indicating that no valid values can be obtained.public String getCcnOwnerUin()
public void setCcnOwnerUin(String CcnOwnerUin)
CcnOwnerUin
- The UIN of the main account to which the Cloud Connect Network gateway belongs. It is required for cross-account CCN.Note: This field may return null, indicating that no valid values can be obtained.public KeyValuePairOption[] getExtraAttr()
public void setExtraAttr(KeyValuePairOption[] ExtraAttr)
ExtraAttr
- Additional information added for the business. Parameter name is called key, parameter value is called value. Mandatory parameters for tdpg: PgDatabase (subscribed database name).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
- Copyright © 2025. All rights reserved.