public class AddNodeList extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AddNodeList()  | 
AddNodeList(AddNodeList 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 | 
getRole()
Get Roles of nodes to be added. 
 | 
String | 
getZone()
Get AZ corresponding to the node. 
 | 
void | 
setRole(String Role)
Set Roles of nodes to be added. 
 | 
void | 
setZone(String Zone)
Set AZ corresponding to the node. 
 | 
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 AddNodeList()
public AddNodeList(AddNodeList source)
public String getRole()
public void setRole(String Role)
Role - Roles of nodes to be added.
 - SECONDARY: Mongod node.
 - READONLY: read-only node.
 - MONGOS: Mongos node.public String getZone()
public void setZone(String Zone)
Zone - AZ corresponding to the node. For the currently supported AZs, see [Regions and AZs](https://www.tencentcloud.comom/document/product/240/3637?from_cn_redirect=1).
- Single AZ: All nodes are in the same AZ.
- Multiple AZs: The current standard specification involves three AZs. The primary and secondary nodes are not in the same AZ. Note: AZs corresponding to the nodes to be added should be specified. After addition, the number of nodes in any 2 AZs should be greater than that in the third AZ.Copyright © 2025. All rights reserved.