public class RedisNodeInfo extends AbstractModel
header, skipSign
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 This parameter is optional when the [CreateInstances](https://intl.cloud.tencent.com/document/product/239/20026?from_cn_redirect=1) API is used to create a TencentDB for Redis instance, but it is required when the [UpgradeInstance](https://intl.cloud.tencent.com/document/product/239/20013?from_cn_redirect=1) API is used to adjust the configuration of an instance by deleting a replica.
|
Long |
getNodeType()
Get Node type.
|
Long |
getZoneId()
Get ID of the AZ of the master or replica node
|
String |
getZoneName()
Get Name of the AZ of the master or replica node
|
void |
setNodeId(Long NodeId)
Set ID of the master or replica node This parameter is optional when the [CreateInstances](https://intl.cloud.tencent.com/document/product/239/20026?from_cn_redirect=1) API is used to create a TencentDB for Redis instance, but it is required when the [UpgradeInstance](https://intl.cloud.tencent.com/document/product/239/20013?from_cn_redirect=1) API is used to adjust the configuration of an instance by deleting a replica.
|
void |
setNodeType(Long NodeType)
Set Node type.
|
void |
setZoneId(Long ZoneId)
Set ID of the AZ of the master or replica node
|
void |
setZoneName(String ZoneName)
Set Name of the AZ 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RedisNodeInfo()
public RedisNodeInfo(RedisNodeInfo source)
public Long getNodeType()
public void setNodeType(Long NodeType)
NodeType
- Node type. public Long getNodeId()
public void setNodeId(Long NodeId)
NodeId
- ID of the master or replica node public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- ID of the AZ of the master or replica nodepublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Name of the AZ of the master or replica nodeCopyright © 2024. All rights reserved.