public class CynosdbInstance extends AbstractModel
Constructor and Description |
---|
CynosdbInstance() |
CynosdbInstance(CynosdbInstance 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 |
getBusinessType()
Get Business type
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getClusterId()
Get Cluster ID
|
String |
getClusterName()
Get Cluster name
|
Long |
getCpu()
Get Number of CPU cores
|
String |
getCreateTime()
Get Creation time
|
String |
getCynosVersion()
Get TDSQL-C kernel version
|
String |
getDbType()
Get Database type
|
String |
getDbVersion()
Get Database version
|
String |
getDestroyDeadlineText()
Get Termination deadline
|
String |
getDestroyTime()
Get Instance termination time
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name
|
InstanceNetInfo[] |
getInstanceNetInfo()
Get Instance network information
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getInstanceRole()
Get Current instance role
|
String |
getInstanceType()
Get Instance type
|
String |
getIsFreeze()
Get Whether to freeze
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getIsolateTime()
Get Isolation time
|
String |
getMasterZone()
Get Source AZ
Note: This field may return null, indicating that no valid value can be obtained.
|
Float |
getMaxCpu()
Get Maximum number of CPU cores for serverless instance
|
Long |
getMemory()
Get Memory in GB
|
Float |
getMinCpu()
Get Minimum number of CPU cores for serverless instance
|
Long |
getNetType()
Get Network type
|
Long |
getPayMode()
Get Billing mode
|
String |
getPeriodEndTime()
Get Instance expiration time
|
String |
getPhysicalZone()
Get Physical zone
|
String |
getProcessingTask()
Get Task in progress
|
Long |
getProjectId()
Get Project ID
|
String |
getRegion()
Get Region
|
Long |
getRenewFlag()
Get Renewal flag
|
Tag[] |
getResourceTags()
Get The resource tag
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getServerlessStatus()
Get Serverless instance status.
|
String[] |
getSlaveZones()
Get Replica AZ
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getStatus()
Get Instance status
|
String |
getStatusDesc()
Get Instance status description
|
Long |
getStorage()
Get Storage capacity in GB
|
String |
getStorageId()
Get Prepaid storage ID
Note: this field may return `null`, indicating that no valid value can be obtained.
|
Long |
getStoragePayMode()
Get Storage billing mode
|
String |
getSubnetId()
Get Subnet ID
|
ObjectTask[] |
getTasks()
Get Task
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUin()
Get User `Uin`
|
String |
getUpdateTime()
Get Update time
|
String |
getVip()
Get Private IP of instance
|
String |
getVpcId()
Get VPC ID
|
Long |
getVport()
Get Private port of instance
|
String |
getWanDomain()
Get Public domain name
|
String |
getWanIP()
Get Public IP
|
Long |
getWanPort()
Get Public port
|
String |
getWanStatus()
Get Public network status
|
String |
getZone()
Get AZ
|
void |
setAppId(Long AppId)
Set User `AppId`
|
void |
setBusinessType(String BusinessType)
Set Business type
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setClusterName(String ClusterName)
Set Cluster name
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setCynosVersion(String CynosVersion)
Set TDSQL-C kernel version
|
void |
setDbType(String DbType)
Set Database type
|
void |
setDbVersion(String DbVersion)
Set Database version
|
void |
setDestroyDeadlineText(String DestroyDeadlineText)
Set Termination deadline
|
void |
setDestroyTime(String DestroyTime)
Set Instance termination time
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceNetInfo(InstanceNetInfo[] InstanceNetInfo)
Set Instance network information
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setInstanceRole(String InstanceRole)
Set Current instance role
|
void |
setInstanceType(String InstanceType)
Set Instance type
|
void |
setIsFreeze(String IsFreeze)
Set Whether to freeze
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsolateTime(String IsolateTime)
Set Isolation time
|
void |
setMasterZone(String MasterZone)
Set Source AZ
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setMaxCpu(Float MaxCpu)
Set Maximum number of CPU cores for serverless instance
|
void |
setMemory(Long Memory)
Set Memory in GB
|
void |
setMinCpu(Float MinCpu)
Set Minimum number of CPU cores for serverless instance
|
void |
setNetType(Long NetType)
Set Network type
|
void |
setPayMode(Long PayMode)
Set Billing mode
|
void |
setPeriodEndTime(String PeriodEndTime)
Set Instance expiration time
|
void |
setPhysicalZone(String PhysicalZone)
Set Physical zone
|
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 The resource tag
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setServerlessStatus(String ServerlessStatus)
Set Serverless instance status.
|
void |
setSlaveZones(String[] SlaveZones)
Set Replica AZ
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setStatus(String Status)
Set Instance status
|
void |
setStatusDesc(String StatusDesc)
Set Instance status description
|
void |
setStorage(Long Storage)
Set Storage capacity in GB
|
void |
setStorageId(String StorageId)
Set Prepaid storage ID
Note: this field may return `null`, indicating that no valid value can be obtained.
|
void |
setStoragePayMode(Long StoragePayMode)
Set Storage billing mode
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setTasks(ObjectTask[] Tasks)
Set Task
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUin(String Uin)
Set User `Uin`
|
void |
setUpdateTime(String UpdateTime)
Set Update time
|
void |
setVip(String Vip)
Set Private IP of instance
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setVport(Long Vport)
Set Private port of instance
|
void |
setWanDomain(String WanDomain)
Set Public domain name
|
void |
setWanIP(String WanIP)
Set Public IP
|
void |
setWanPort(Long WanPort)
Set Public port
|
void |
setWanStatus(String WanStatus)
Set Public network status
|
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 CynosdbInstance()
public CynosdbInstance(CynosdbInstance source)
public String getUin()
public void setUin(String Uin)
Uin
- User `Uin`public Long getAppId()
public void setAppId(Long AppId)
AppId
- User `AppId`public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String getClusterName()
public void setClusterName(String ClusterName)
ClusterName
- Cluster namepublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic String getRegion()
public void setRegion(String Region)
Region
- Regionpublic String getZone()
public void setZone(String Zone)
Zone
- AZpublic String getStatus()
public void setStatus(String Status)
Status
- Instance statuspublic String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc
- Instance status descriptionpublic String getDbType()
public void setDbType(String DbType)
DbType
- Database typepublic String getDbVersion()
public void setDbVersion(String DbVersion)
DbVersion
- Database versionpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU corespublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity in GBpublic String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance typepublic String getInstanceRole()
public void setInstanceRole(String InstanceRole)
InstanceRole
- Current instance rolepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update timepublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic String getVip()
public void setVip(String Vip)
Vip
- Private IP of instancepublic Long getVport()
public void setVport(Long Vport)
Vport
- Private port of instancepublic Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Billing modepublic String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime
- Instance expiration timepublic String getDestroyDeadlineText()
public void setDestroyDeadlineText(String DestroyDeadlineText)
DestroyDeadlineText
- Termination deadlinepublic String getIsolateTime()
public void setIsolateTime(String IsolateTime)
IsolateTime
- Isolation timepublic Long getNetType()
public void setNetType(Long NetType)
NetType
- Network typepublic String getWanDomain()
public void setWanDomain(String WanDomain)
WanDomain
- Public domain namepublic String getWanIP()
public void setWanIP(String WanIP)
WanIP
- Public IPpublic Long getWanPort()
public void setWanPort(Long WanPort)
WanPort
- Public portpublic String getWanStatus()
public void setWanStatus(String WanStatus)
WanStatus
- Public network statuspublic String getDestroyTime()
public void setDestroyTime(String DestroyTime)
DestroyTime
- Instance termination timepublic String getCynosVersion()
public void setCynosVersion(String CynosVersion)
CynosVersion
- TDSQL-C kernel versionpublic String getProcessingTask()
public void setProcessingTask(String ProcessingTask)
ProcessingTask
- Task in progresspublic Long getRenewFlag()
public void setRenewFlag(Long RenewFlag)
RenewFlag
- Renewal flagpublic Float getMinCpu()
public void setMinCpu(Float MinCpu)
MinCpu
- Minimum number of CPU cores for serverless instancepublic Float getMaxCpu()
public void setMaxCpu(Float MaxCpu)
MaxCpu
- Maximum number of CPU cores for serverless instancepublic String getServerlessStatus()
public void setServerlessStatus(String ServerlessStatus)
ServerlessStatus
- Serverless instance status. Valid values:
resume
pausepublic String getStorageId()
public void setStorageId(String StorageId)
StorageId
- Prepaid storage ID
Note: this field may return `null`, indicating that no valid value can be obtained.public Long getStoragePayMode()
public void setStoragePayMode(Long StoragePayMode)
StoragePayMode
- Storage billing modepublic String getPhysicalZone()
public void setPhysicalZone(String PhysicalZone)
PhysicalZone
- Physical zonepublic String getBusinessType()
public void setBusinessType(String BusinessType)
BusinessType
- Business type
Note: This field may return null, indicating that no valid value can be obtained.public ObjectTask[] getTasks()
public void setTasks(ObjectTask[] Tasks)
Tasks
- Task
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 Tag[] getResourceTags()
public void setResourceTags(Tag[] ResourceTags)
ResourceTags
- The resource tag
Note: This field may return null, indicating that no valid values can be obtained.public String getMasterZone()
public void setMasterZone(String MasterZone)
MasterZone
- Source AZ
Note: This field may return null, indicating that no valid value can be obtained.public String[] getSlaveZones()
public void setSlaveZones(String[] SlaveZones)
SlaveZones
- Replica AZ
Note: This field may return null, indicating that no valid value can be obtained.public InstanceNetInfo[] getInstanceNetInfo()
public void setInstanceNetInfo(InstanceNetInfo[] InstanceNetInfo)
InstanceNetInfo
- Instance network information
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.