public class ReplicaGroup extends AbstractModel
| 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 | 
| RedisNode[] | getRedisNodes()Get The list of nodes in a node group | 
| String | getRole()Get Node group type. | 
| String | getZoneId()Get Node availability zone ID, such as ap-guangzhou-1 | 
| void | setGroupId(Long GroupId)Set Node group ID | 
| void | setGroupName(String GroupName)Set Node group name | 
| void | setRedisNodes(RedisNode[] RedisNodes)Set The list of nodes in a node group | 
| void | setRole(String Role)Set Node group type. | 
| void | setZoneId(String ZoneId)Set Node availability zone 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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 namepublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Node availability zone ID, such as ap-guangzhou-1public String getRole()
public void setRole(String Role)
Role - Node group type. Valid values: `master` (master node group), `replica` (replica node group)public RedisNode[] getRedisNodes()
public void setRedisNodes(RedisNode[] RedisNodes)
RedisNodes - The list of nodes in a node groupCopyright © 2022. All rights reserved.