public class NodeInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| NodeInfo() | 
| NodeInfo(NodeInfo 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 | getNodeId()Get DB节点ID | 
| String | getRole()Get DB节点角色,取值为master或者slave | 
| String | getZone()Get 节点所在可用区 | 
| void | setNodeId(String NodeId)Set DB节点ID | 
| void | setRole(String Role)Set DB节点角色,取值为master或者slave | 
| void | setZone(String Zone)Set 节点所在可用区 | 
| 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 NodeInfo()
public NodeInfo(NodeInfo source)
public String getNodeId()
public void setNodeId(String NodeId)
NodeId - DB节点IDpublic String getRole()
public void setRole(String Role)
Role - DB节点角色,取值为master或者slavepublic String getZone()
public void setZone(String Zone)
Zone - 节点所在可用区Copyright © 2025. All rights reserved.