public class Cluster extends AbstractModel
| Constructor and Description | 
|---|
| Cluster() | 
| Cluster(Cluster 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 | 
|---|---|
| Boolean | getAutoUpgradeClusterLevel()Get The target cluster model for auto-upgrade
Note: this field may return null, indicating that no valid value is obtained. | 
| String | getClusterDescription()Get Cluster description | 
| String | getClusterId()Get Cluster ID | 
| String | getClusterLevel()Get Cluster models. | 
| Long | getClusterMaterNodeNum()Get Number of primary nodes currently in the cluster | 
| String | getClusterName()Get Cluster name | 
| ClusterNetworkSettings | getClusterNetworkSettings()Get Cluster network-related parameters | 
| Long | getClusterNodeNum()Get Current number of nodes in the cluster | 
| String | getClusterOs()Get Cluster operating system. | 
| String | getClusterStatus()Get Cluster status (`Running`, `Creating`, `Idling` or `Abnormal`) | 
| String | getClusterType()Get Cluster type. | 
| String | getClusterVersion()Get Cluster version. | 
| String | getContainerRuntime()Get Runtime environment of the cluster. | 
| String | getCreatedTime()Get Creation time
Note: this field may return null, indicating that no valid value is obtained. | 
| Boolean | getDeletionProtection()Get Whether Deletion Protection is enabled
Note: this field may return null, indicating that no valid value is obtained. | 
| Boolean | getEnableExternalNode()Get Specifies whether the cluster supports external nodes. | 
| String | getImageId()Get ID of the image used by the cluster
Note: this field may return null, indicating that no valid value is obtained. | 
| String | getOsCustomizeType()Get Container image tag
Note: This field may return null, indicating that no valid value was found. | 
| Long | getProjectId()Get ID of the project to which the cluster belongs | 
| String | getProperty()Get Cluster attributes (including a map of different cluster attributes, with attribute fields including NodeNameType (lan-ip mode and hostname mode, with lan-ip mode as default)) | 
| Boolean | getQGPUShareEnable()Get Whether to enable qGPU Sharing
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getRuntimeVersion()Get Runtime version
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| TagSpecification[] | getTagSpecification()Get Tag description list. | 
| void | setAutoUpgradeClusterLevel(Boolean AutoUpgradeClusterLevel)Set The target cluster model for auto-upgrade
Note: this field may return null, indicating that no valid value is obtained. | 
| void | setClusterDescription(String ClusterDescription)Set Cluster description | 
| void | setClusterId(String ClusterId)Set Cluster ID | 
| void | setClusterLevel(String ClusterLevel)Set Cluster models. | 
| void | setClusterMaterNodeNum(Long ClusterMaterNodeNum)Set Number of primary nodes currently in the cluster | 
| void | setClusterName(String ClusterName)Set Cluster name | 
| void | setClusterNetworkSettings(ClusterNetworkSettings ClusterNetworkSettings)Set Cluster network-related parameters | 
| void | setClusterNodeNum(Long ClusterNodeNum)Set Current number of nodes in the cluster | 
| void | setClusterOs(String ClusterOs)Set Cluster operating system. | 
| void | setClusterStatus(String ClusterStatus)Set Cluster status (`Running`, `Creating`, `Idling` or `Abnormal`) | 
| void | setClusterType(String ClusterType)Set Cluster type. | 
| void | setClusterVersion(String ClusterVersion)Set Cluster version. | 
| void | setContainerRuntime(String ContainerRuntime)Set Runtime environment of the cluster. | 
| void | setCreatedTime(String CreatedTime)Set Creation time
Note: this field may return null, indicating that no valid value is obtained. | 
| void | setDeletionProtection(Boolean DeletionProtection)Set Whether Deletion Protection is enabled
Note: this field may return null, indicating that no valid value is obtained. | 
| void | setEnableExternalNode(Boolean EnableExternalNode)Set Specifies whether the cluster supports external nodes. | 
| void | setImageId(String ImageId)Set ID of the image used by the cluster
Note: this field may return null, indicating that no valid value is obtained. | 
| void | setOsCustomizeType(String OsCustomizeType)Set Container image tag
Note: This field may return null, indicating that no valid value was found. | 
| void | setProjectId(Long ProjectId)Set ID of the project to which the cluster belongs | 
| void | setProperty(String Property)Set Cluster attributes (including a map of different cluster attributes, with attribute fields including NodeNameType (lan-ip mode and hostname mode, with lan-ip mode as default)) | 
| void | setQGPUShareEnable(Boolean QGPUShareEnable)Set Whether to enable qGPU Sharing
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setRuntimeVersion(String RuntimeVersion)Set Runtime version
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setTagSpecification(TagSpecification[] TagSpecification)Set Tag description list. | 
| 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, toJsonStringpublic Cluster()
public Cluster(Cluster source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster IDpublic String getClusterName()
public void setClusterName(String ClusterName)
ClusterName - Cluster namepublic String getClusterDescription()
public void setClusterDescription(String ClusterDescription)
ClusterDescription - Cluster descriptionpublic String getClusterVersion()
public void setClusterVersion(String ClusterVersion)
ClusterVersion - Cluster version. The default value is 1.10.5.public String getClusterOs()
public void setClusterOs(String ClusterOs)
ClusterOs - Cluster operating system. centOS 7.2x86_64 or ubuntu 16.04.1 LTSx86_64. Default value: ubuntu 16.04.1 LTSx86_64public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType - Cluster type. Managed cluster: MANAGED_CLUSTER; Self-deployed cluster: INDEPENDENT_CLUSTER.public ClusterNetworkSettings getClusterNetworkSettings()
public void setClusterNetworkSettings(ClusterNetworkSettings ClusterNetworkSettings)
ClusterNetworkSettings - Cluster network-related parameterspublic Long getClusterNodeNum()
public void setClusterNodeNum(Long ClusterNodeNum)
ClusterNodeNum - Current number of nodes in the clusterpublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - ID of the project to which the cluster belongspublic TagSpecification[] getTagSpecification()
public void setTagSpecification(TagSpecification[] TagSpecification)
TagSpecification - Tag description list.public String getClusterStatus()
public void setClusterStatus(String ClusterStatus)
ClusterStatus - Cluster status (`Running`, `Creating`, `Idling` or `Abnormal`)public String getProperty()
public void setProperty(String Property)
Property - Cluster attributes (including a map of different cluster attributes, with attribute fields including NodeNameType (lan-ip mode and hostname mode, with lan-ip mode as default))public Long getClusterMaterNodeNum()
public void setClusterMaterNodeNum(Long ClusterMaterNodeNum)
ClusterMaterNodeNum - Number of primary nodes currently in the clusterpublic String getImageId()
public void setImageId(String ImageId)
ImageId - ID of the image used by the cluster
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
Note: This field may return null, indicating that no valid value was found.public String getContainerRuntime()
public void setContainerRuntime(String ContainerRuntime)
ContainerRuntime - Runtime environment of the cluster. Values can be `docker` or `containerd`.
Note: this field may return null, indicating that no valid value is obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation time
Note: this field may return null, indicating that no valid value is 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 value is obtained.public Boolean getEnableExternalNode()
public void setEnableExternalNode(Boolean EnableExternalNode)
EnableExternalNode - Specifies whether the cluster supports external nodes.
Note: this field may return `null`, indicating that no valid value can be obtained.public String getClusterLevel()
public void setClusterLevel(String ClusterLevel)
ClusterLevel - Cluster models. It’s valid for managed clusters.
Note: This field may return `null`, indicating that no valid values can be obtained.public Boolean getAutoUpgradeClusterLevel()
public void setAutoUpgradeClusterLevel(Boolean AutoUpgradeClusterLevel)
AutoUpgradeClusterLevel - The target cluster model for auto-upgrade
Note: this field may return null, indicating that no valid value is obtained.public Boolean getQGPUShareEnable()
public void setQGPUShareEnable(Boolean QGPUShareEnable)
QGPUShareEnable - Whether to enable qGPU Sharing
Note: this field may return `null`, indicating that no valid values can be obtained.public String getRuntimeVersion()
public void setRuntimeVersion(String RuntimeVersion)
RuntimeVersion - Runtime version
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.