public class RedisNodeInfo extends AbstractModel
| Constructor and Description | 
|---|
| RedisNodeInfo() | 
| RedisNodeInfo(RedisNodeInfo 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 | 
|---|---|
| Long | getNodeId()Get ID of the master or replica node, which is not required during instance creation | 
| Long | getNodeType()Get Node type. | 
| Long | getZoneId()Get AZ ID of the master or replica node | 
| String | getZoneName()Get AZ name of the master or replica node | 
| void | setNodeId(Long NodeId)Set ID of the master or replica node, which is not required during instance creation | 
| void | setNodeType(Long NodeType)Set Node type. | 
| void | setZoneId(Long ZoneId)Set AZ ID of the master or replica node | 
| void | setZoneName(String ZoneName)Set AZ name of the master or replica node | 
| 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 RedisNodeInfo()
public RedisNodeInfo(RedisNodeInfo source)
public Long getNodeType()
public void setNodeType(Long NodeType)
NodeType - Node type. 0: master node; 1: replica nodepublic Long getNodeId()
public void setNodeId(Long NodeId)
NodeId - ID of the master or replica node, which is not required during instance creationpublic Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId - AZ ID of the master or replica nodepublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName - AZ name of the master or replica nodeCopyright © 2022. All rights reserved.