public class DBEndpointInfo extends AbstractModel
| 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 | 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. | 
| 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 | 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. | 
| 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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. Valid values: empty or `simple` (general node); `cluster` (cluster node).
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.Copyright © 2022. All rights reserved.