public class Groups extends AbstractModel
Constructor and Description |
---|
Groups() |
Groups(Groups 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 |
getAppId()
Get User APPID, which is the unique application ID that matches an account.
|
String |
getGroupId()
Get Replication group ID in the format of "crs-rpl-deind****"
|
String |
getGroupName()
Get Replication group name
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getInstanceCount()
Get Number of replication groups
|
Instances[] |
getInstances()
Get Instance information in replication groups
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getRegionId()
Get Region ID
- `1`: Guangzhou
- `4`: Shanghai
- `5`: Hong Kong (China)
- `6`: Toronto
- `7`: Shanghai Finance
- `8`: Beijing
- `9`: Singapore
- `11`: Shenzhen Finance
- `15`: Silicon Valley (West US)
- `16`: Chengdu
- `17`: Germany
- `18`: South Korea
- `19`: Chongqing
- `21`: India
- `22`: Virginia (East US)
- `23`: Thailand
- `24`: Russia
- `25`: Japan
|
String |
getRemark()
Get Remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get Status of replication group
- `37`: Associating replication group
- `38`: Reconnecting to replication group
- `51`: Disassociating replication group
- `52`: Switching with master instance in replication group
- `53`: Modifying the roles
|
void |
setAppId(Long AppId)
Set User APPID, which is the unique application ID that matches an account.
|
void |
setGroupId(String GroupId)
Set Replication group ID in the format of "crs-rpl-deind****"
|
void |
setGroupName(String GroupName)
Set Replication group name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of replication groups
|
void |
setInstances(Instances[] Instances)
Set Instance information in replication groups
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRegionId(Long RegionId)
Set Region ID
- `1`: Guangzhou
- `4`: Shanghai
- `5`: Hong Kong (China)
- `6`: Toronto
- `7`: Shanghai Finance
- `8`: Beijing
- `9`: Singapore
- `11`: Shenzhen Finance
- `15`: Silicon Valley (West US)
- `16`: Chengdu
- `17`: Germany
- `18`: South Korea
- `19`: Chongqing
- `21`: India
- `22`: Virginia (East US)
- `23`: Thailand
- `24`: Russia
- `25`: Japan
|
void |
setRemark(String Remark)
Set Remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(Long Status)
Set Status of replication group
- `37`: Associating replication group
- `38`: Reconnecting to replication group
- `51`: Disassociating replication group
- `52`: Switching with master instance in replication group
- `53`: Modifying the roles
|
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, toJsonString
public Groups()
public Groups(Groups source)
public Long getAppId()
public void setAppId(Long AppId)
AppId
- User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.public Long getRegionId()
public void setRegionId(Long RegionId)
RegionId
- Region ID
- `1`: Guangzhou
- `4`: Shanghai
- `5`: Hong Kong (China)
- `6`: Toronto
- `7`: Shanghai Finance
- `8`: Beijing
- `9`: Singapore
- `11`: Shenzhen Finance
- `15`: Silicon Valley (West US)
- `16`: Chengdu
- `17`: Germany
- `18`: South Korea
- `19`: Chongqing
- `21`: India
- `22`: Virginia (East US)
- `23`: Thailand
- `24`: Russia
- `25`: Japanpublic String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Replication group ID in the format of "crs-rpl-deind****"public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- Replication group name
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Status of replication group
- `37`: Associating replication group
- `38`: Reconnecting to replication group
- `51`: Disassociating replication group
- `52`: Switching with master instance in replication group
- `53`: Modifying the rolespublic Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of replication groupspublic Instances[] getInstances()
public void setInstances(Instances[] Instances)
Instances
- Instance information in replication groups
Note: This field may return null, indicating that no valid values can be obtained.public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.