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 Node annotation list
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getClusterId()
Get Cluster ID
|
String |
getCreatedAt()
Get Creation time
|
Boolean |
getDeletionProtection()
Get Whether to enable deletion protection
Note: This field may return "null", indicating that no valid value can be obtained.
|
ExternalNodePoolInfo |
getExternal()
Get Third-party node pool parameter, which has a value only when Type equals External
Note: This field may return "null", indicating that no valid value can be obtained.
|
Label[] |
getLabels()
Get Node Labels
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getLifeState()
Get Node pool status
|
String |
getName()
Get Node pool name
|
NativeNodePoolInfo |
getNative()
Get Native node pool parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getNodePoolId()
Get Node pool ID
|
RegularNodePoolInfo |
getRegular()
Get General node pool parameter, which has a value only when Type equals Regular
Note: This field may return "null", indicating that no valid value can be obtained.
|
SuperNodePoolInfo |
getSuper()
Get Super node pool parameter, which has a value only when Type equals Super
Note: This field may return "null", indicating that no valid value can be obtained.
|
TagSpecification[] |
getTags()
Get Node tags
Note: This field may return "null", indicating that no valid value can be obtained.
|
Taint[] |
getTaints()
Get Node taint
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getType()
Get Node pool type
|
Boolean |
getUnschedulable()
Get Whether the node is unschedulable
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setAnnotations(Annotation[] Annotations)
Set Node annotation list
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setCreatedAt(String CreatedAt)
Set Creation time
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set Whether to enable deletion protection
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setExternal(ExternalNodePoolInfo External)
Set Third-party node pool parameter, which has a value only when Type equals External
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setLabels(Label[] Labels)
Set Node Labels
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setLifeState(String LifeState)
Set Node pool status
|
void |
setName(String Name)
Set Node pool name
|
void |
setNative(NativeNodePoolInfo Native)
Set Native node pool parameters
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setNodePoolId(String NodePoolId)
Set Node pool ID
|
void |
setRegular(RegularNodePoolInfo Regular)
Set General node pool parameter, which has a value only when Type equals Regular
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setSuper(SuperNodePoolInfo Super)
Set Super node pool parameter, which has a value only when Type equals Super
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setTags(TagSpecification[] Tags)
Set Node tags
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setTaints(Taint[] Taints)
Set Node taint
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setType(String Type)
Set Node pool type
|
void |
setUnschedulable(Boolean Unschedulable)
Set Whether the node is unschedulable
Note: This field may return "null", indicating that no valid value can be obtained.
|
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 NodePool()
public NodePool(NodePool source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster IDpublic String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId - Node pool IDpublic TagSpecification[] getTags()
public void setTags(TagSpecification[] Tags)
Tags - Node tags
Note: This field may return "null", indicating that no valid value can be obtained.public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints - Node taint
Note: This field may return "null", indicating that no valid value can be obtained.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection - Whether to enable deletion protection
Note: This field may return "null", indicating that no valid value can be obtained.public Boolean getUnschedulable()
public void setUnschedulable(Boolean Unschedulable)
Unschedulable - Whether the node is unschedulable
Note: This field may return "null", indicating that no valid value can be obtained.public String getType()
public void setType(String Type)
Type - Node pool typepublic Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - Node Labels
Note: This field may return "null", indicating that no valid value can be obtained.public String getLifeState()
public void setLifeState(String LifeState)
LifeState - Node pool statuspublic String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - Creation timepublic String getName()
public void setName(String Name)
Name - Node pool namepublic NativeNodePoolInfo getNative()
public void setNative(NativeNodePoolInfo Native)
Native - Native node pool parameters
Note: This field may return "null", indicating that no valid value can be obtained.public Annotation[] getAnnotations()
public void setAnnotations(Annotation[] Annotations)
Annotations - Node annotation list
Note: This field may return "null", indicating that no valid value can be obtained.public SuperNodePoolInfo getSuper()
public void setSuper(SuperNodePoolInfo Super)
Super - Super node pool parameter, which has a value only when Type equals Super
Note: This field may return "null", indicating that no valid value can be obtained.public RegularNodePoolInfo getRegular()
public void setRegular(RegularNodePoolInfo Regular)
Regular - General node pool parameter, which has a value only when Type equals Regular
Note: This field may return "null", indicating that no valid value can be obtained.public ExternalNodePoolInfo getExternal()
public void setExternal(ExternalNodePoolInfo External)
External - Third-party node pool parameter, which has a value only when Type equals External
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.