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 Node Annotation List
|
String |
getClusterId()
Get Cluster ID
|
Boolean |
getDeletionProtection()
Get Whether to enable deletion protection
|
Label[] |
getLabels()
Get Node Labels
|
String |
getName()
Get Node pool name
|
CreateNativeNodePoolParam |
getNative()
Get Native node pool creation parameters
|
TagSpecification[] |
getTags()
Get Node tags
|
Taint[] |
getTaints()
Get Node taint
|
String |
getType()
Get Node pool type
|
Boolean |
getUnschedulable()
Get Whether the node is unschedulable by default
|
void |
setAnnotations(Annotation[] Annotations)
Set Node Annotation List
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set Whether to enable deletion protection
|
void |
setLabels(Label[] Labels)
Set Node Labels
|
void |
setName(String Name)
Set Node pool name
|
void |
setNative(CreateNativeNodePoolParam Native)
Set Native node pool creation parameters
|
void |
setTags(TagSpecification[] Tags)
Set Node tags
|
void |
setTaints(Taint[] Taints)
Set Node taint
|
void |
setType(String Type)
Set Node pool type
|
void |
setUnschedulable(Boolean Unschedulable)
Set Whether the node is unschedulable by default
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateNodePoolRequest()
public CreateNodePoolRequest(CreateNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster IDpublic String getName()
public void setName(String Name)
Name - Node pool namepublic String getType()
public void setType(String Type)
Type - Node pool typepublic Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - Node Labelspublic Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints - Node taintpublic TagSpecification[] getTags()
public void setTags(TagSpecification[] Tags)
Tags - Node tagspublic Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection - Whether to enable deletion protectionpublic Boolean getUnschedulable()
public void setUnschedulable(Boolean Unschedulable)
Unschedulable - Whether the node is unschedulable by defaultpublic CreateNativeNodePoolParam getNative()
public void setNative(CreateNativeNodePoolParam Native)
Native - Native node pool creation parameterspublic Annotation[] getAnnotations()
public void setAnnotations(Annotation[] Annotations)
Annotations - Node Annotation ListCopyright © 2025. All rights reserved.