public class InstanceNode extends AbstractModel
header, skipSign
Constructor and Description |
---|
InstanceNode() |
InstanceNode(InstanceNode 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 |
getCluster()
Get 所属clickhouse cluster名称
|
Long |
getCore()
Get cpu核数
|
Long |
getDiskSize()
Get 磁盘大小
|
String |
getDiskType()
Get 磁盘类型
|
String |
getIp()
Get IP地址
|
Boolean |
getIsCHProxy()
Get ture的时候表示该节点上部署了chproxy进程
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMemory()
Get 内存大小
|
GroupInfo[] |
getNodeGroups()
Get 节点所属的分组信息
|
String |
getRip()
Get VPC IP
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSpec()
Get 机型,如 S1
|
void |
setCluster(String Cluster)
Set 所属clickhouse cluster名称
|
void |
setCore(Long Core)
Set cpu核数
|
void |
setDiskSize(Long DiskSize)
Set 磁盘大小
|
void |
setDiskType(String DiskType)
Set 磁盘类型
|
void |
setIp(String Ip)
Set IP地址
|
void |
setIsCHProxy(Boolean IsCHProxy)
Set ture的时候表示该节点上部署了chproxy进程
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMemory(Long Memory)
Set 内存大小
|
void |
setNodeGroups(GroupInfo[] NodeGroups)
Set 节点所属的分组信息
|
void |
setRip(String Rip)
Set VPC IP
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSpec(String Spec)
Set 机型,如 S1
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InstanceNode()
public InstanceNode(InstanceNode source)
public String getIp()
public void setIp(String Ip)
Ip
- IP地址public String getSpec()
public void setSpec(String Spec)
Spec
- 机型,如 S1public Long getCore()
public void setCore(Long Core)
Core
- cpu核数public Long getMemory()
public void setMemory(Long Memory)
Memory
- 内存大小public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- 磁盘类型public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- 磁盘大小public String getCluster()
public void setCluster(String Cluster)
Cluster
- 所属clickhouse cluster名称public GroupInfo[] getNodeGroups()
public void setNodeGroups(GroupInfo[] NodeGroups)
NodeGroups
- 节点所属的分组信息public String getRip()
public void setRip(String Rip)
Rip
- VPC IP
注意:此字段可能返回 null,表示取不到有效值。public Boolean getIsCHProxy()
public void setIsCHProxy(Boolean IsCHProxy)
IsCHProxy
- ture的时候表示该节点上部署了chproxy进程
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.