public class NodePool extends AbstractModel
header, skipSign
Constructor and Description |
---|
NodePool() |
NodePool(NodePool 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 |
---|---|
Annotation[] |
getAnnotations()
Get 节点 Annotation 列表
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getClusterId()
Get 集群 ID
|
String |
getCreatedAt()
Get 创建时间
|
Boolean |
getDeletionProtection()
Get 是否开启删除保护
注意:此字段可能返回 null,表示取不到有效值。
|
ExternalNodePoolInfo |
getExternal()
Get 第三方节点池参数,在Type等于External该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
Label[] |
getLabels()
Get 节点 Labels
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getLifeState()
Get 节点池状态
|
String |
getName()
Get 节点池名称
|
NativeNodePoolInfo |
getNative()
Get 原生节点池参数
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getNodePoolId()
Get 节点池 ID
|
RegularNodePoolInfo |
getRegular()
Get 普通节点池参数,在Type等于Regular该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
SuperNodePoolInfo |
getSuper()
Get 超级节点池参数,在Type等于Super该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
TagSpecification[] |
getTags()
Get 节点标签
注意:此字段可能返回 null,表示取不到有效值。
|
Taint[] |
getTaints()
Get 节点污点
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 节点池类型
|
Boolean |
getUnschedulable()
Get 节点是否不可调度
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAnnotations(Annotation[] Annotations)
Set 节点 Annotation 列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClusterId(String ClusterId)
Set 集群 ID
|
void |
setCreatedAt(String CreatedAt)
Set 创建时间
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set 是否开启删除保护
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setExternal(ExternalNodePoolInfo External)
Set 第三方节点池参数,在Type等于External该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLabels(Label[] Labels)
Set 节点 Labels
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLifeState(String LifeState)
Set 节点池状态
|
void |
setName(String Name)
Set 节点池名称
|
void |
setNative(NativeNodePoolInfo Native)
Set 原生节点池参数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNodePoolId(String NodePoolId)
Set 节点池 ID
|
void |
setRegular(RegularNodePoolInfo Regular)
Set 普通节点池参数,在Type等于Regular该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSuper(SuperNodePoolInfo Super)
Set 超级节点池参数,在Type等于Super该字段才有值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTags(TagSpecification[] Tags)
Set 节点标签
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTaints(Taint[] Taints)
Set 节点污点
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(String Type)
Set 节点池类型
|
void |
setUnschedulable(Boolean Unschedulable)
Set 节点是否不可调度
注意:此字段可能返回 null,表示取不到有效值。
|
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 NodePool()
public NodePool(NodePool source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群 IDpublic String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId
- 节点池 IDpublic TagSpecification[] getTags()
public void setTags(TagSpecification[] Tags)
Tags
- 节点标签
注意:此字段可能返回 null,表示取不到有效值。public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- 节点污点
注意:此字段可能返回 null,表示取不到有效值。public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection
- 是否开启删除保护
注意:此字段可能返回 null,表示取不到有效值。public Boolean getUnschedulable()
public void setUnschedulable(Boolean Unschedulable)
Unschedulable
- 节点是否不可调度
注意:此字段可能返回 null,表示取不到有效值。public String getType()
public void setType(String Type)
Type
- 节点池类型public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- 节点 Labels
注意:此字段可能返回 null,表示取不到有效值。public String getLifeState()
public void setLifeState(String LifeState)
LifeState
- 节点池状态public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt
- 创建时间public String getName()
public void setName(String Name)
Name
- 节点池名称public NativeNodePoolInfo getNative()
public void setNative(NativeNodePoolInfo Native)
Native
- 原生节点池参数
注意:此字段可能返回 null,表示取不到有效值。public Annotation[] getAnnotations()
public void setAnnotations(Annotation[] Annotations)
Annotations
- 节点 Annotation 列表
注意:此字段可能返回 null,表示取不到有效值。public SuperNodePoolInfo getSuper()
public void setSuper(SuperNodePoolInfo Super)
Super
- 超级节点池参数,在Type等于Super该字段才有值
注意:此字段可能返回 null,表示取不到有效值。public RegularNodePoolInfo getRegular()
public void setRegular(RegularNodePoolInfo Regular)
Regular
- 普通节点池参数,在Type等于Regular该字段才有值
注意:此字段可能返回 null,表示取不到有效值。public ExternalNodePoolInfo getExternal()
public void setExternal(ExternalNodePoolInfo External)
External
- 第三方节点池参数,在Type等于External该字段才有值
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.