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
|
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.
|
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 |
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 |
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, toJsonString
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
- public String getClusterStatus()
public void setClusterStatus(String ClusterStatus)
ClusterStatus
- public String getProperty()
public void setProperty(String Property)
Property
- Copyright © 2020. All rights reserved.