public class DBEndpointInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DBEndpointInfo() | 
| DBEndpointInfo(DBEndpointInfo 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 | getAccessType()Get Instances network access type. | 
| String | getConnectType()Get | 
| String | getDatabaseNetEnv()Get Network environment of the database. | 
| String | getDatabaseType()Get Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. | 
| KeyValuePairOption[] | getExtraAttr()Get For MongoDB, you can define the following parameters:       ['AuthDatabase':'admin', 
'AuthFlag': "1",        'AuthMechanism':"SCRAM-SHA-1"]
Note: This field may return null, indicating that no valid values can be obtained. | 
| DBInfo[] | getInfo()Get Database information
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNodeType()Get Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getRegion()Get Instance region
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getSupplier()Get Instance service provider, such as "aliyun" and "others". | 
| void | setAccessType(String AccessType)Set Instances network access type. | 
| void | setConnectType(String ConnectType)Set | 
| void | setDatabaseNetEnv(String DatabaseNetEnv)Set Network environment of the database. | 
| void | setDatabaseType(String DatabaseType)Set Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. | 
| void | setExtraAttr(KeyValuePairOption[] ExtraAttr)Set For MongoDB, you can define the following parameters:       ['AuthDatabase':'admin', 
'AuthFlag': "1",        'AuthMechanism':"SCRAM-SHA-1"]
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setInfo(DBInfo[] Info)Set Database information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNodeType(String NodeType)Set Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRegion(String Region)Set Instance region
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setSupplier(String Supplier)Set Instance service provider, such as "aliyun" and "others". | 
| 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 DBEndpointInfo()
public DBEndpointInfo(DBEndpointInfo source)
public String getRegion()
public void setRegion(String Region)
Region - Instance region
Note: This field may return null, indicating that no valid values can be obtained.public String getAccessType()
public void setAccessType(String AccessType)
AccessType - Instances network access type. Valid values: `extranet` (public network); `ipv6` (public IPv6); `cvm` (self-build on CVM); `dcg` (Direct Connect); `vpncloud` (VPN access); `cdb` (database); `ccn` (CCN); `intranet` (intranet); `vpc` (VPC). Note that the valid values are subject to the current link.
Note: This field may return null, indicating that no valid values can be obtained.public String getDatabaseType()
public void setDatabaseType(String DatabaseType)
DatabaseType - Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`.
Note: This field may return null, indicating that no valid values can be obtained.public String getNodeType()
public void setNodeType(String NodeType)
NodeType - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).Note: This field may return null, indicating that no valid values can be obtained.public DBInfo[] getInfo()
public void setInfo(DBInfo[] Info)
Info - Database information
Note: This field may return null, indicating that no valid values can be obtained.public String getSupplier()
public void setSupplier(String Supplier)
Supplier - Instance service provider, such as "aliyun" and "others".
Note: This field may return null, indicating that no valid values can be obtained.public KeyValuePairOption[] getExtraAttr()
public void setExtraAttr(KeyValuePairOption[] ExtraAttr)
ExtraAttr - For MongoDB, you can define the following parameters:   ['AuthDatabase':'admin', 
'AuthFlag': "1",        'AuthMechanism':"SCRAM-SHA-1"]
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 getConnectType()
public void setConnectType(String ConnectType)
ConnectType - Copyright © 2025. All rights reserved.