Class TendisNodes
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.models.TendisNodes
-
public class TendisNodes extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TendisNodes()
TendisNodes(TendisNodes 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNodeId()
Get 节点IDString
getNodeRole()
Get 节点角色void
setNodeId(String NodeId)
Set 节点IDvoid
setNodeRole(String NodeRole)
Set 节点角色void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TendisNodes
public TendisNodes()
-
TendisNodes
public TendisNodes(TendisNodes 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.
-
-
Method Detail
-
getNodeId
public String getNodeId()
Get 节点ID- Returns:
- NodeId 节点ID
-
setNodeId
public void setNodeId(String NodeId)
Set 节点ID- Parameters:
NodeId
- 节点ID
-
getNodeRole
public String getNodeRole()
Get 节点角色- Returns:
- NodeRole 节点角色
-
setNodeRole
public void setNodeRole(String NodeRole)
Set 节点角色- Parameters:
NodeRole
- 节点角色
-
-