public class Cluster extends AbstractModel
| Constructor and Description | 
|---|
| Cluster() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClusterDescription()Get Cluster description | 
| String | getClusterId()Get Cluster ID | 
| Long | getClusterMaterNodeNum()Get Number of master 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 | 
| 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. | 
| 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 | 
| TagSpecification[] | getTagSpecification()Get | 
| void | setClusterDescription(String ClusterDescription)Set Cluster description | 
| void | setClusterId(String ClusterId)Set Cluster ID | 
| void | setClusterMaterNodeNum(Long ClusterMaterNodeNum)Set Number of master 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 | 
| 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 | 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 | 
| void | setTagSpecification(TagSpecification[] TagSpecification)Set | 
| 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 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 - public String getClusterStatus()
public void setClusterStatus(String ClusterStatus)
ClusterStatus - public String getProperty()
public void setProperty(String Property)
Property - public Long getClusterMaterNodeNum()
public void setClusterMaterNodeNum(Long ClusterMaterNodeNum)
ClusterMaterNodeNum - Number of master 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.Copyright © 2020. All rights reserved.