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 |
---|---|
Long |
getAppId()
Get User `appid`
|
String |
getClusterId()
Get Cluster ID
|
String |
getClusterName()
Get Cluster name
|
String |
getCreateTime()
Get Cluster creation time
|
String |
getCynosVersion()
Get TDSQL-C kernel version
|
String |
getDbMode()
Get Database type (`NORMAL` or `SERVERLESS`)
|
String |
getDbType()
Get Engine type
|
String |
getDbVersion()
Get Database version
|
Long |
getInstanceNum()
Get Number of instances
|
Long |
getMaxStorageSize()
Get The maximum storage corresponding to the compute specifications of the cluster
|
Long |
getMinStorageSize()
Get The minimum storage corresponding to the compute specifications of the cluster
|
NetAddr[] |
getNetAddrs()
Get Network information of the cluster
|
Long |
getPayMode()
Get Billing mode.
|
String |
getPeriodEndTime()
Get End time
|
String |
getProcessingTask()
Get Task in progress
|
Long |
getProjectID()
Get Project ID
|
String |
getRegion()
Get Region
|
Long |
getRenewFlag()
Get Renewal flag
|
Tag[] |
getResourceTags()
Get Array of tags bound to cluster
|
String |
getServerlessStatus()
Get Serverless cluster status when the database type is `SERVERLESS`.
|
String |
getStatus()
Get Cluster status.
|
String |
getStatusDesc()
Get Cluster status description
|
Long |
getStorage()
Get Prepaid cluster storage
|
String |
getStorageId()
Get Cluster storage ID used in prepaid storage modification
|
Long |
getStorageLimit()
Get Storage capacity
|
Long |
getStoragePayMode()
Get Billing mode of cluster storage.
|
String |
getSubnetId()
Get Subnet ID
|
ObjectTask[] |
getTasks()
Get Array of tasks in cluster
|
String |
getUin()
Get User `uin`
|
String |
getUpdateTime()
Get Update time
|
String |
getVip()
Get Cluster read-write VIP
|
String |
getVpcId()
Get VPC ID
|
Long |
getVport()
Get Cluster read-write vport
|
String |
getZone()
Get AZ
|
void |
setAppId(Long AppId)
Set User `appid`
|
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 TDSQL-C kernel version
|
void |
setDbMode(String DbMode)
Set Database type (`NORMAL` or `SERVERLESS`)
|
void |
setDbType(String DbType)
Set Engine type
|
void |
setDbVersion(String DbVersion)
Set Database version
|
void |
setInstanceNum(Long InstanceNum)
Set Number of instances
|
void |
setMaxStorageSize(Long MaxStorageSize)
Set The maximum storage corresponding to the compute specifications of the cluster
|
void |
setMinStorageSize(Long MinStorageSize)
Set The minimum storage corresponding to the compute specifications of the cluster
|
void |
setNetAddrs(NetAddr[] NetAddrs)
Set Network information of the cluster
|
void |
setPayMode(Long PayMode)
Set Billing mode.
|
void |
setPeriodEndTime(String PeriodEndTime)
Set End time
|
void |
setProcessingTask(String ProcessingTask)
Set Task in progress
|
void |
setProjectID(Long ProjectID)
Set Project ID
|
void |
setRegion(String Region)
Set Region
|
void |
setRenewFlag(Long RenewFlag)
Set Renewal flag
|
void |
setResourceTags(Tag[] ResourceTags)
Set Array of tags bound to cluster
|
void |
setServerlessStatus(String ServerlessStatus)
Set Serverless cluster status when the database type is `SERVERLESS`.
|
void |
setStatus(String Status)
Set Cluster status.
|
void |
setStatusDesc(String StatusDesc)
Set Cluster status description
|
void |
setStorage(Long Storage)
Set Prepaid cluster storage
|
void |
setStorageId(String StorageId)
Set Cluster storage ID used in prepaid storage modification
|
void |
setStorageLimit(Long StorageLimit)
Set Storage capacity
|
void |
setStoragePayMode(Long StoragePayMode)
Set Billing mode of cluster storage.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setTasks(ObjectTask[] Tasks)
Set Array of tasks in 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 VPC 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, 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`public String getDbType()
public void setDbType(String DbType)
DbType
- Engine typepublic 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
- Billing mode. 0: pay-as-you-go; 1: monthly subscriptionpublic String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime
- End timepublic String getVip()
public void setVip(String Vip)
Vip
- Cluster read-write VIPpublic Long getVport()
public void setVport(Long Vport)
Vport
- Cluster read-write vportpublic Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID
- Project IDpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic String getCynosVersion()
public void setCynosVersion(String CynosVersion)
CynosVersion
- TDSQL-C kernel versionpublic Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit
- Storage capacitypublic Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag
- Renewal flagpublic String getProcessingTask()
public void setProcessingTask(String ProcessingTask)
ProcessingTask
- Task in progresspublic ObjectTask[] getTasks()
public void setTasks(ObjectTask[] Tasks)
Tasks
- Array of tasks in clusterpublic Tag[] getResourceTags()
public void setResourceTags(Tag[] ResourceTags)
ResourceTags
- Array of tags bound to clusterpublic String getDbMode()
public void setDbMode(String DbMode)
DbMode
- Database type (`NORMAL` or `SERVERLESS`)public String getServerlessStatus()
public void setServerlessStatus(String ServerlessStatus)
ServerlessStatus
- Serverless cluster status when the database type is `SERVERLESS`. Valid values:
resume
pausepublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Prepaid cluster storagepublic String getStorageId()
public void setStorageId(String StorageId)
StorageId
- Cluster storage ID used in prepaid storage modificationpublic Long getStoragePayMode()
public void setStoragePayMode(Long StoragePayMode)
StoragePayMode
- Billing mode of cluster storage. Valid values: `0` (postpaid), `1` (prepaid)public Long getMinStorageSize()
public void setMinStorageSize(Long MinStorageSize)
MinStorageSize
- The minimum storage corresponding to the compute specifications of the clusterpublic Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize
- The maximum storage corresponding to the compute specifications of the clusterpublic NetAddr[] getNetAddrs()
public void setNetAddrs(NetAddr[] NetAddrs)
NetAddrs
- Network information of the clusterCopyright © 2022. All rights reserved.