public class CynosdbCluster extends AbstractModel
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 Capability
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getAppId()
Get User `appid`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getBusinessType()
Get Business type
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getClusterId()
Get Cluster ID
|
String |
getClusterName()
Get Cluster name
|
String |
getCreateTime()
Get Cluster creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCynosVersion()
Get TDSQL-C kernel version
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDbMode()
Get Database type.
|
String |
getDbType()
Get Engine type
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDbVersion()
Get Database version
|
String |
getHasSlaveZone()
Get Whether there is a secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getInstanceNum()
Get Number of instances
|
String |
getIsFreeze()
Get Whether to freeze
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMasterZone()
Get Primary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxStorageSize()
Get The maximum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMinStorageSize()
Get The minimum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
NetAddr[] |
getNetAddrs()
Get Network information of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getOrderSource()
Get Order source
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getPayMode()
Get Billing mode.
|
String |
getPeriodEndTime()
Get End time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPhysicalZone()
Get Physical AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getProcessingTask()
Get Task in progress
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getProjectID()
Get Project ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRegion()
Get Region
|
Long |
getRenewFlag()
Get Renewal flag
Note: This field may return null, indicating that no valid values can be obtained.
|
Tag[] |
getResourceTags()
Get Array of tags bound to the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getServerlessStatus()
Get Serverless cluster status when the database type is `SERVERLESS`.
|
String[] |
getSlaveZones()
Get Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStatus()
Get Cluster status.
|
String |
getStatusDesc()
Get Cluster status description
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStorage()
Get Prepaid cluster storage capacity
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStorageId()
Get Cluster storage ID used in prepaid storage modification
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStorageLimit()
Get Storage capacity
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStoragePayMode()
Get Billing mode of cluster storage.
|
String |
getSubnetId()
Get Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
|
ObjectTask[] |
getTasks()
Get Array of tasks in the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUin()
Get User UIN
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Update time
|
String |
getVip()
Get Cluster read-write VIP
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getVpcId()
Get VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getVport()
Get Cluster read-write vport
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getZone()
Get AZ
|
void |
setAbility(Ability Ability)
Set Capability
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAppId(Long AppId)
Set User `appid`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setBusinessType(String BusinessType)
Set Business type
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setClusterName(String ClusterName)
Set Cluster name
|
void |
setCreateTime(String CreateTime)
Set Cluster creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCynosVersion(String CynosVersion)
Set TDSQL-C kernel version
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDbMode(String DbMode)
Set Database type.
|
void |
setDbType(String DbType)
Set Engine type
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDbVersion(String DbVersion)
Set Database version
|
void |
setHasSlaveZone(String HasSlaveZone)
Set Whether there is a secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceNum(Long InstanceNum)
Set Number of instances
|
void |
setIsFreeze(String IsFreeze)
Set Whether to freeze
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMasterZone(String MasterZone)
Set Primary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMaxStorageSize(Long MaxStorageSize)
Set The maximum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMinStorageSize(Long MinStorageSize)
Set The minimum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNetAddrs(NetAddr[] NetAddrs)
Set Network information of the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOrderSource(String OrderSource)
Set Order source
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPayMode(Long PayMode)
Set Billing mode.
|
void |
setPeriodEndTime(String PeriodEndTime)
Set End time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPhysicalZone(String PhysicalZone)
Set Physical AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProcessingTask(String ProcessingTask)
Set Task in progress
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProjectID(Long ProjectID)
Set Project ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRegion(String Region)
Set Region
|
void |
setRenewFlag(Long RenewFlag)
Set Renewal flag
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResourceTags(Tag[] ResourceTags)
Set Array of tags bound to the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setServerlessStatus(String ServerlessStatus)
Set Serverless cluster status when the database type is `SERVERLESS`.
|
void |
setSlaveZones(String[] SlaveZones)
Set Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(String Status)
Set Cluster status.
|
void |
setStatusDesc(String StatusDesc)
Set Cluster status description
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStorage(Long Storage)
Set Prepaid cluster storage capacity
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStorageId(String StorageId)
Set Cluster storage ID used in prepaid storage modification
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStorageLimit(Long StorageLimit)
Set Storage capacity
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStoragePayMode(Long StoragePayMode)
Set Billing mode of cluster storage.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTasks(ObjectTask[] Tasks)
Set Array of tasks in the cluster
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUin(String Uin)
Set User UIN
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
|
void |
setVip(String Vip)
Set Cluster read-write VIP
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setVpcId(String VpcId)
Set VPC ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setVport(Long Vport)
Set Cluster read-write vport
Note: This field may return null, indicating that no valid values can be obtained.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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 UIN
Note: This field may return null, indicating that no valid values can be obtained.public String getDbType()
public void setDbType(String DbType)
DbType
- Engine type
Note: This field may return null, indicating that no valid values can be obtained.public Long getAppId()
public void setAppId(Long AppId)
AppId
- User `appid`
Note: This field may return null, indicating that no valid values can be obtained.public String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc
- Cluster status description
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Cluster creation time
Note: This field may return null, indicating that no valid values can be obtained.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Billing mode. `0`: Pay-as-you-go; `1`: Monthly subscription.
Note: This field may return null, indicating that no valid values can be obtained.public String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime
- End time
Note: This field may return null, indicating that no valid values can be obtained.public String getVip()
public void setVip(String Vip)
Vip
- Cluster read-write VIP
Note: This field may return null, indicating that no valid values can be obtained.public Long getVport()
public void setVport(Long Vport)
Vport
- Cluster read-write vport
Note: This field may return null, indicating that no valid values can be obtained.public Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID
- Project ID
Note: This field may return null, indicating that no valid values can be obtained.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID
Note: This field may return null, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID
Note: This field may return null, indicating that no valid values can be obtained.public String getCynosVersion()
public void setCynosVersion(String CynosVersion)
CynosVersion
- TDSQL-C kernel version
Note: This field may return null, indicating that no valid values can be obtained.public Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit
- Storage capacity
Note: This field may return null, indicating that no valid values can be obtained.public Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag
- Renewal flag
Note: This field may return null, indicating that no valid values can be obtained.public String getProcessingTask()
public void setProcessingTask(String ProcessingTask)
ProcessingTask
- Task in progress
Note: This field may return null, indicating that no valid values can be obtained.public ObjectTask[] getTasks()
public void setTasks(ObjectTask[] Tasks)
Tasks
- Array of tasks in the cluster
Note: This field may return null, indicating that no valid values can be obtained.public Tag[] getResourceTags()
public void setResourceTags(Tag[] ResourceTags)
ResourceTags
- Array of tags bound to the cluster
Note: This field may return null, indicating that no valid values can be obtained.public String getDbMode()
public void setDbMode(String DbMode)
DbMode
- Database type. Valid values: `NORMAL`, `SERVERLESS`.
Note: This field may return null, indicating that no valid values can be obtained.public String getServerlessStatus()
public void setServerlessStatus(String ServerlessStatus)
ServerlessStatus
- Serverless cluster status when the database type is `SERVERLESS`. Valid values:
`resume`
`pause`
Note: This field may return null, indicating that no valid values can be obtained.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Prepaid cluster storage capacity
Note: This field may return null, indicating that no valid values can be obtained.public String getStorageId()
public void setStorageId(String StorageId)
StorageId
- Cluster storage ID used in prepaid storage modification
Note: This field may return null, indicating that no valid values can be obtained.public Long getStoragePayMode()
public void setStoragePayMode(Long StoragePayMode)
StoragePayMode
- Billing mode of cluster storage. Valid values: `0` (pay-as-you-go), `1` (monthly subscription).
Note: This field may return null, indicating that no valid values can be obtained.public Long getMinStorageSize()
public void setMinStorageSize(Long MinStorageSize)
MinStorageSize
- The minimum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.public Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize
- The maximum storage corresponding to the compute specification of the cluster
Note: This field may return null, indicating that no valid values can be obtained.public NetAddr[] getNetAddrs()
public void setNetAddrs(NetAddr[] NetAddrs)
NetAddrs
- Network information of the cluster
Note: This field may return null, indicating that no valid values can be obtained.public String getPhysicalZone()
public void setPhysicalZone(String PhysicalZone)
PhysicalZone
- Physical AZ
Note: This field may return null, indicating that no valid values can be obtained.public String getMasterZone()
public void setMasterZone(String MasterZone)
MasterZone
- Primary AZ
Note: This field may return null, indicating that no valid values can be obtained.public String getHasSlaveZone()
public void setHasSlaveZone(String HasSlaveZone)
HasSlaveZone
- Whether there is a secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.public String[] getSlaveZones()
public void setSlaveZones(String[] SlaveZones)
SlaveZones
- Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.public String getBusinessType()
public void setBusinessType(String BusinessType)
BusinessType
- Business type
Note: This field may return null, indicating that no valid values can be obtained.public String getIsFreeze()
public void setIsFreeze(String IsFreeze)
IsFreeze
- Whether to freeze
Note: This field may return null, indicating that no valid values can be obtained.public String getOrderSource()
public void setOrderSource(String OrderSource)
OrderSource
- Order source
Note: This field may return null, indicating that no valid values can be obtained.public Ability getAbility()
public void setAbility(Ability Ability)
Ability
- Capability
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.