public class ReplicaGroup extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
ReplicaGroup()  | 
ReplicaGroup(ReplicaGroup 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 | 
getGroupId()
Get Node group ID 
 | 
String | 
getGroupName()
Get Node group name, which is empty for the master node 
 | 
RedisNode[] | 
getRedisNodes()
Get List of nodes in the node group 
 | 
String | 
getRole()
Get Node group type. 
 | 
String | 
getZoneId()
Get Node AZ ID, such as ap-guangzhou-1 
 | 
void | 
setGroupId(Long GroupId)
Set Node group ID 
 | 
void | 
setGroupName(String GroupName)
Set Node group name, which is empty for the master node 
 | 
void | 
setRedisNodes(RedisNode[] RedisNodes)
Set List of nodes in the node group 
 | 
void | 
setRole(String Role)
Set Node group type. 
 | 
void | 
setZoneId(String ZoneId)
Set Node AZ ID, such as ap-guangzhou-1 
 | 
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 ReplicaGroup()
public ReplicaGroup(ReplicaGroup source)
public Long getGroupId()
public void setGroupId(Long GroupId)
GroupId - Node group IDpublic String getGroupName()
public void setGroupName(String GroupName)
GroupName - Node group name, which is empty for the master nodepublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Node AZ ID, such as ap-guangzhou-1public String getRole()
public void setRole(String Role)
Role - Node group type. master: primary node; replica: replica node.public RedisNode[] getRedisNodes()
public void setRedisNodes(RedisNode[] RedisNodes)
RedisNodes - List of nodes in the node groupCopyright © 2025. All rights reserved.