public class CreateNodePoolRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateNodePoolRequest() | 
| CreateNodePoolRequest(CreateNodePoolRequest 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 列表 | 
| String | getClusterId()Get 集群 ID | 
| Boolean | getDeletionProtection()Get 是否开启删除保护 | 
| Label[] | getLabels()Get 节点  Labels | 
| String | getName()Get 节点池名称 | 
| CreateNativeNodePoolParam | getNative()Get 原生节点池创建参数(Type字段设置为Native时需填写) | 
| TagSpecification[] | getTags()Get 节点标签 | 
| Taint[] | getTaints()Get 节点污点 | 
| String | getType()Get 节点池类型 | 
| Boolean | getUnschedulable()Get 节点是否默认不可调度 | 
| void | setAnnotations(Annotation[] Annotations)Set 节点 Annotation 列表 | 
| void | setClusterId(String ClusterId)Set 集群 ID | 
| void | setDeletionProtection(Boolean DeletionProtection)Set 是否开启删除保护 | 
| void | setLabels(Label[] Labels)Set 节点  Labels | 
| void | setName(String Name)Set 节点池名称 | 
| void | setNative(CreateNativeNodePoolParam Native)Set 原生节点池创建参数(Type字段设置为Native时需填写) | 
| void | setTags(TagSpecification[] Tags)Set 节点标签 | 
| void | setTaints(Taint[] Taints)Set 节点污点 | 
| void | setType(String Type)Set 节点池类型 | 
| void | setUnschedulable(Boolean Unschedulable)Set 节点是否默认不可调度 | 
| 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, toJsonStringpublic CreateNodePoolRequest()
public CreateNodePoolRequest(CreateNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 集群 IDpublic String getName()
public void setName(String Name)
Name - 节点池名称public String getType()
public void setType(String Type)
Type - 节点池类型public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - 节点  Labelspublic Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints - 节点污点public TagSpecification[] getTags()
public void setTags(TagSpecification[] Tags)
Tags - 节点标签public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection - 是否开启删除保护public Boolean getUnschedulable()
public void setUnschedulable(Boolean Unschedulable)
Unschedulable - 节点是否默认不可调度public CreateNativeNodePoolParam getNative()
public void setNative(CreateNativeNodePoolParam Native)
Native - 原生节点池创建参数(Type字段设置为Native时需填写)public Annotation[] getAnnotations()
public void setAnnotations(Annotation[] Annotations)
Annotations - 节点 Annotation 列表Copyright © 2025. All rights reserved.