public class CynosdbCluster extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CynosdbCluster()  | 
CynosdbCluster(CynosdbCluster 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 | 
|---|---|
Ability | 
getAbility()
Get Capacity. 
 | 
Long | 
getAppId()
Get User appid. 
 | 
String | 
getBusinessType()
Get Business type. 
 | 
String | 
getClusterId()
Get Cluster ID 
 | 
String | 
getClusterName()
Get Cluster name 
 | 
String | 
getCreateTime()
Get Cluster Creation Time 
 | 
String | 
getCynosVersion()
Get Specifies the cynos kernel version. 
 | 
String | 
getDbMode()
Get Db type (NORMAL, SERVERLESS). 
 | 
String | 
getDbType()
Get Engine type. 
 | 
String | 
getDbVersion()
Get Database version 
 | 
String | 
getHasSlaveZone()
Get Whether there is an availability zone. 
 | 
Long | 
getInstanceNum()
Get Number of instances 
 | 
String | 
getIsFreeze()
Get Whether to freeze. 
 | 
String | 
getMasterZone()
Get Primary AZ. 
 | 
Long | 
getMaxStorageSize()
Get The maximum storage value corresponding to the cluster computing specification. 
 | 
Long | 
getMinStorageSize()
Get Minimum storage value corresponding to cluster computing specifications. 
 | 
NetAddr[] | 
getNetAddrs()
Get Specifies the cluster network information. 
 | 
String | 
getOrderSource()
Get Order Source 
 | 
Long | 
getPayMode()
Get Payment mode. 
 | 
String | 
getPeriodEndTime()
Get Expiration time. 
 | 
String | 
getPhysicalZone()
Get Physical availability zone. 
 | 
String | 
getProcessingTask()
Get Task being processed. 
 | 
Long | 
getProjectID()
Get Project ID 
 | 
String | 
getRegion()
Get Region 
 | 
Long | 
getRenewFlag()
Get Renewal Flag 
 | 
ResourcePackage[] | 
getResourcePackages()
Get Specifies the information of the resource package bound to the instance (only the storage resource package is returned here, that is, packageType=DISK). 
 | 
Tag[] | 
getResourceTags()
Get Array of tags bound to the cluster. 
 | 
String | 
getServerlessStatus()
Get Specifies the status of the SERVERLESS cluster when the Db type is SERVERLESS. 
 | 
String[] | 
getSlaveZones()
Get Secondary AZ. 
 | 
String | 
getStatus()
Get Cluster status. 
 | 
String | 
getStatusDesc()
Get Cluster status description 
 | 
Long | 
getStorage()
Get Cluster prepaid storage size. 
 | 
String | 
getStorageId()
Get Cluster storage ID for prepaid storage, specifies the storage ID used for prepaid storage modification. 
 | 
Long | 
getStorageLimit()
Get Specifies the storage capacity. 
 | 
Long | 
getStoragePayMode()
Get Cluster storage payment mode. 
 | 
String | 
getSubnetId()
Get Specifies the subnet ID. 
 | 
ObjectTask[] | 
getTasks()
Get Task array of the cluster. 
 | 
String | 
getUin()
Get User UIN 
 | 
String | 
getUpdateTime()
Get Update time 
 | 
String | 
getVip()
Get Cluster read/write vip. 
 | 
String | 
getVpcId()
Get Specifies the virtual private cloud ID. 
 | 
Long | 
getVport()
Get Cluster read/write vport. 
 | 
String | 
getZone()
Get AZ 
 | 
void | 
setAbility(Ability Ability)
Set Capacity. 
 | 
void | 
setAppId(Long AppId)
Set User appid. 
 | 
void | 
setBusinessType(String BusinessType)
Set Business type. 
 | 
void | 
setClusterId(String ClusterId)
Set Cluster ID 
 | 
void | 
setClusterName(String ClusterName)
Set Cluster name 
 | 
void | 
setCreateTime(String CreateTime)
Set Cluster Creation Time 
 | 
void | 
setCynosVersion(String CynosVersion)
Set Specifies the cynos kernel version. 
 | 
void | 
setDbMode(String DbMode)
Set Db type (NORMAL, SERVERLESS). 
 | 
void | 
setDbType(String DbType)
Set Engine type. 
 | 
void | 
setDbVersion(String DbVersion)
Set Database version 
 | 
void | 
setHasSlaveZone(String HasSlaveZone)
Set Whether there is an availability zone. 
 | 
void | 
setInstanceNum(Long InstanceNum)
Set Number of instances 
 | 
void | 
setIsFreeze(String IsFreeze)
Set Whether to freeze. 
 | 
void | 
setMasterZone(String MasterZone)
Set Primary AZ. 
 | 
void | 
setMaxStorageSize(Long MaxStorageSize)
Set The maximum storage value corresponding to the cluster computing specification. 
 | 
void | 
setMinStorageSize(Long MinStorageSize)
Set Minimum storage value corresponding to cluster computing specifications. 
 | 
void | 
setNetAddrs(NetAddr[] NetAddrs)
Set Specifies the cluster network information. 
 | 
void | 
setOrderSource(String OrderSource)
Set Order Source 
 | 
void | 
setPayMode(Long PayMode)
Set Payment mode. 
 | 
void | 
setPeriodEndTime(String PeriodEndTime)
Set Expiration time. 
 | 
void | 
setPhysicalZone(String PhysicalZone)
Set Physical availability zone. 
 | 
void | 
setProcessingTask(String ProcessingTask)
Set Task being processed. 
 | 
void | 
setProjectID(Long ProjectID)
Set Project ID 
 | 
void | 
setRegion(String Region)
Set Region 
 | 
void | 
setRenewFlag(Long RenewFlag)
Set Renewal Flag 
 | 
void | 
setResourcePackages(ResourcePackage[] ResourcePackages)
Set Specifies the information of the resource package bound to the instance (only the storage resource package is returned here, that is, packageType=DISK). 
 | 
void | 
setResourceTags(Tag[] ResourceTags)
Set Array of tags bound to the cluster. 
 | 
void | 
setServerlessStatus(String ServerlessStatus)
Set Specifies the status of the SERVERLESS cluster when the Db type is SERVERLESS. 
 | 
void | 
setSlaveZones(String[] SlaveZones)
Set Secondary AZ. 
 | 
void | 
setStatus(String Status)
Set Cluster status. 
 | 
void | 
setStatusDesc(String StatusDesc)
Set Cluster status description 
 | 
void | 
setStorage(Long Storage)
Set Cluster prepaid storage size. 
 | 
void | 
setStorageId(String StorageId)
Set Cluster storage ID for prepaid storage, specifies the storage ID used for prepaid storage modification. 
 | 
void | 
setStorageLimit(Long StorageLimit)
Set Specifies the storage capacity. 
 | 
void | 
setStoragePayMode(Long StoragePayMode)
Set Cluster storage payment mode. 
 | 
void | 
setSubnetId(String SubnetId)
Set Specifies the subnet ID. 
 | 
void | 
setTasks(ObjectTask[] Tasks)
Set Task array of the cluster. 
 | 
void | 
setUin(String Uin)
Set User UIN 
 | 
void | 
setUpdateTime(String UpdateTime)
Set Update time 
 | 
void | 
setVip(String Vip)
Set Cluster read/write vip. 
 | 
void | 
setVpcId(String VpcId)
Set Specifies the virtual private cloud ID. 
 | 
void | 
setVport(Long Vport)
Set Cluster read/write vport. 
 | 
void | 
setZone(String Zone)
Set AZ 
 | 
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 CynosdbCluster()
public CynosdbCluster(CynosdbCluster source)
public String getStatus()
public void setStatus(String Status)
Status - Cluster status. Valid values are as follows:
creating
running
isolating
isolated
activating (removing isolation)
offlining (deactivating)
offlined (deactivated)
deleting
deletedpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Update timepublic String getZone()
public void setZone(String Zone)
Zone - AZpublic String getClusterName()
public void setClusterName(String ClusterName)
ClusterName - Cluster namepublic String getRegion()
public void setRegion(String Region)
Region - Regionpublic String getDbVersion()
public void setDbVersion(String DbVersion)
DbVersion - Database versionpublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster IDpublic Long getInstanceNum()
public void setInstanceNum(Long InstanceNum)
InstanceNum - Number of instancespublic String getUin()
public void setUin(String Uin)
Uin - User UINpublic String getDbType()
public void setDbType(String DbType)
DbType - Engine type.public Long getAppId()
public void setAppId(Long AppId)
AppId - User appid.public String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc - Cluster status descriptionpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Cluster Creation Timepublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Payment mode. 0: pay-as-you-go; 1: monthly subscription.public String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime - Expiration time.public String getVip()
public void setVip(String Vip)
Vip - Cluster read/write vip.public Long getVport()
public void setVport(Long Vport)
Vport - Cluster read/write vport.public Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID - Project IDpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId - Specifies the virtual private cloud ID.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Specifies the subnet ID.public String getCynosVersion()
public void setCynosVersion(String CynosVersion)
CynosVersion - Specifies the cynos kernel version.public Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit - Specifies the storage capacity.public Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag - Renewal Flagpublic String getProcessingTask()
public void setProcessingTask(String ProcessingTask)
ProcessingTask - Task being processed.public ObjectTask[] getTasks()
public void setTasks(ObjectTask[] Tasks)
Tasks - Task array of the cluster.public Tag[] getResourceTags()
public void setResourceTags(Tag[] ResourceTags)
ResourceTags - Array of tags bound to the cluster.public String getDbMode()
public void setDbMode(String DbMode)
DbMode - Db type (NORMAL, SERVERLESS).public String getServerlessStatus()
public void setServerlessStatus(String ServerlessStatus)
ServerlessStatus - Specifies the status of the SERVERLESS cluster when the Db type is SERVERLESS. valid values:.
resume
pausepublic Long getStorage()
public void setStorage(Long Storage)
Storage - Cluster prepaid storage size.public String getStorageId()
public void setStorageId(String StorageId)
StorageId - Cluster storage ID for prepaid storage, specifies the storage ID used for prepaid storage modification.public Long getStoragePayMode()
public void setStoragePayMode(Long StoragePayMode)
StoragePayMode - Cluster storage payment mode. 0: pay-as-you-go; 1: monthly subscription.public Long getMinStorageSize()
public void setMinStorageSize(Long MinStorageSize)
MinStorageSize - Minimum storage value corresponding to cluster computing specifications.public Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize - The maximum storage value corresponding to the cluster computing specification.public NetAddr[] getNetAddrs()
public void setNetAddrs(NetAddr[] NetAddrs)
NetAddrs - Specifies the cluster network information.public String getPhysicalZone()
public void setPhysicalZone(String PhysicalZone)
PhysicalZone - Physical availability zone.public String getMasterZone()
public void setMasterZone(String MasterZone)
MasterZone - Primary AZ.public String getHasSlaveZone()
public void setHasSlaveZone(String HasSlaveZone)
HasSlaveZone - Whether there is an availability zone.public String[] getSlaveZones()
public void setSlaveZones(String[] SlaveZones)
SlaveZones - Secondary AZ.public String getBusinessType()
public void setBusinessType(String BusinessType)
BusinessType - Business type.public String getIsFreeze()
public void setIsFreeze(String IsFreeze)
IsFreeze - Whether to freeze.public String getOrderSource()
public void setOrderSource(String OrderSource)
OrderSource - Order Sourcepublic Ability getAbility()
public void setAbility(Ability Ability)
Ability - Capacity.public ResourcePackage[] getResourcePackages()
public void setResourcePackages(ResourcePackage[] ResourcePackages)
ResourcePackages - Specifies the information of the resource package bound to the instance (only the storage resource package is returned here, that is, packageType=DISK).Copyright © 2025. All rights reserved.