public class CreateReplicationGroupRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateReplicationGroupRequest() |
CreateReplicationGroupRequest(CreateReplicationGroupRequest 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 |
getGroupName()
Get Replication group name.
|
String |
getInstanceId()
Get ID of the primary instance in the replication group.
|
String |
getRemark()
Get Remark information.
|
void |
setGroupName(String GroupName)
Set Replication group name.
|
void |
setInstanceId(String InstanceId)
Set ID of the primary instance in the replication group.
|
void |
setRemark(String Remark)
Set Remark information.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateReplicationGroupRequest()
public CreateReplicationGroupRequest(CreateReplicationGroupRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the primary instance in the replication group. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.public String getGroupName()
public void setGroupName(String GroupName)
GroupName - Replication group name. The name should contain 2 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).public String getRemark()
public void setRemark(String Remark)
Remark - Remark information.Copyright © 2025. All rights reserved.