public class NodePool extends AbstractModel
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 |
---|---|
String |
getAutoscalingGroupId()
Get Auto-scaling group ID
|
String |
getAutoscalingGroupStatus()
Get
|
String |
getClusterInstanceId()
Get Cluster instance ID
|
Boolean |
getDeletionProtection()
Get Whether Deletion Protection is enabled
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getDesiredNodesNum()
Get Desired number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getDesiredPodNum()
Get This parameter is required when the custom PodCIDR mode is enabled for the cluster.
|
String |
getImageId()
Get Image ID
Note: this field may return `null`, indicating that no valid value is obtained.
|
Label[] |
getLabels()
Get Labels
|
String |
getLaunchConfigurationId()
Get Launch configuration ID
|
String |
getLifeState()
Get The lifecycle state of the current node pool.
|
Long |
getMaxNodesNum()
Get Maximum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getMinNodesNum()
Get Minimum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getName()
Get Node pool name
|
NodeCountSummary |
getNodeCountSummary()
Get Node list
|
String |
getNodePoolId()
Get Node pool ID
|
String |
getNodePoolOs()
Get The operating system of the node pool
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getOsCustomizeType()
Get Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
Note: this field may return `null`, indicating that no valid value is obtained.
|
Tag[] |
getTags()
Get Resource tag
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Taint[] |
getTaints()
Get Array of taint
|
String |
getUserScript()
Get Custom script
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setAutoscalingGroupId(String AutoscalingGroupId)
Set Auto-scaling group ID
|
void |
setAutoscalingGroupStatus(String AutoscalingGroupStatus)
Set
|
void |
setClusterInstanceId(String ClusterInstanceId)
Set Cluster instance ID
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set Whether Deletion Protection is enabled
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setDesiredNodesNum(Long DesiredNodesNum)
Set Desired number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setDesiredPodNum(Long DesiredPodNum)
Set This parameter is required when the custom PodCIDR mode is enabled for the cluster.
|
void |
setImageId(String ImageId)
Set Image ID
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setLabels(Label[] Labels)
Set Labels
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID
|
void |
setLifeState(String LifeState)
Set The lifecycle state of the current node pool.
|
void |
setMaxNodesNum(Long MaxNodesNum)
Set Maximum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setMinNodesNum(Long MinNodesNum)
Set Minimum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setName(String Name)
Set Node pool name
|
void |
setNodeCountSummary(NodeCountSummary NodeCountSummary)
Set Node list
|
void |
setNodePoolId(String NodePoolId)
Set Node pool ID
|
void |
setNodePoolOs(String NodePoolOs)
Set The operating system of the node pool
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setOsCustomizeType(String OsCustomizeType)
Set Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setTags(Tag[] Tags)
Set Resource tag
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setTaints(Taint[] Taints)
Set Array of taint
|
void |
setUserScript(String UserScript)
Set Custom script
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public NodePool()
public NodePool(NodePool source)
public String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId
- Node pool IDpublic String getName()
public void setName(String Name)
Name
- Node pool namepublic String getClusterInstanceId()
public void setClusterInstanceId(String ClusterInstanceId)
ClusterInstanceId
- Cluster instance IDpublic String getLifeState()
public void setLifeState(String LifeState)
LifeState
- The lifecycle state of the current node pool. Valid values: `creating`, `normal`, `updating`, `deleting`, and `deleted`.public String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration IDpublic String getAutoscalingGroupId()
public void setAutoscalingGroupId(String AutoscalingGroupId)
AutoscalingGroupId
- Auto-scaling group IDpublic Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- Labelspublic Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- Array of taintpublic NodeCountSummary getNodeCountSummary()
public void setNodeCountSummary(NodeCountSummary NodeCountSummary)
NodeCountSummary
- Node listpublic String getAutoscalingGroupStatus()
public void setAutoscalingGroupStatus(String AutoscalingGroupStatus)
AutoscalingGroupStatus
- public Long getMaxNodesNum()
public void setMaxNodesNum(Long MaxNodesNum)
MaxNodesNum
- Maximum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.public Long getMinNodesNum()
public void setMinNodesNum(Long MinNodesNum)
MinNodesNum
- Minimum number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.public Long getDesiredNodesNum()
public void setDesiredNodesNum(Long DesiredNodesNum)
DesiredNodesNum
- Desired number of nodes
Note: this field may return `null`, indicating that no valid value is obtained.public String getNodePoolOs()
public void setNodePoolOs(String NodePoolOs)
NodePoolOs
- The operating system of the node pool
Note: this field may return `null`, indicating that no valid value is obtained.public String getOsCustomizeType()
public void setOsCustomizeType(String OsCustomizeType)
OsCustomizeType
- Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
Note: this field may return `null`, indicating that no valid value is obtained.public String getImageId()
public void setImageId(String ImageId)
ImageId
- Image ID
Note: this field may return `null`, indicating that no valid value is obtained.public Long getDesiredPodNum()
public void setDesiredPodNum(Long DesiredPodNum)
DesiredPodNum
- This parameter is required when the custom PodCIDR mode is enabled for the cluster.
Note: this field may return `null`, indicating that no valid value is obtained.public String getUserScript()
public void setUserScript(String UserScript)
UserScript
- Custom script
Note: this field may return `null`, indicating that no valid value is obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Resource tag
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection
- Whether Deletion Protection is enabled
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.