public class ExistedInstancesForNode extends AbstractModel
Constructor and Description |
---|
ExistedInstancesForNode() |
Modifier and Type | Method and Description |
---|---|
ExistedInstancesPara |
getExistedInstancesPara()
获取已存在实例的重装参数
|
String |
getNodeRole()
获取节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD最小配置为4C8G。
|
void |
setExistedInstancesPara(ExistedInstancesPara ExistedInstancesPara)
设置已存在实例的重装参数
|
void |
setNodeRole(String NodeRole)
设置节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD最小配置为4C8G。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getNodeRole()
public void setNodeRole(String NodeRole)
NodeRole
- 节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD最小配置为4C8G。public ExistedInstancesPara getExistedInstancesPara()
public void setExistedInstancesPara(ExistedInstancesPara ExistedInstancesPara)
ExistedInstancesPara
- 已存在实例的重装参数Copyright © 2019. All rights reserved.