public class DCDBShardInfo extends AbstractModel
Constructor and Description |
---|
DCDBShardInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getCpu()
Get Number of CPU cores
|
String |
getCreateTime()
Get Creation time
|
String |
getInstanceId()
Get Instance ID
|
Long |
getMemory()
Get Memory size in GB
|
Float |
getMemoryUsage()
Get Memory utilization in %
|
Long |
getNodeCount()
Get Number of nodes.
|
String |
getPaymode()
Get Billing mode
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPeriodEndTime()
Get Expiration time
|
Long |
getPid()
Get ProductID
|
Long |
getProjectId()
Get Project ID
|
String |
getProxyVersion()
Get Proxy version
|
String |
getRegion()
Get Region
|
Long |
getShardId()
Get Numeric ID of a shard (this field is obsolete and should not be depended on)
|
String |
getShardInstanceId()
Get Globally unique shard ID
|
String |
getShardMasterZone()
Get Master AZ of a shard
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getShardSerialId()
Get Shard SQL passthrough ID, which is used to pass through SQL statements to the specified shard for execution
|
String[] |
getShardSlaveZones()
Get List of secondary AZs of a shard
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get Status.
|
String |
getStatusDesc()
Get Status description
|
Long |
getStorage()
Get Storage capacity in GB
|
Float |
getStorageUsage()
Get Storage utilization in %
|
String |
getSubnetId()
Get VPC subnet ID in string format
|
String |
getVpcId()
Get VPC ID in string format
|
String |
getZone()
Get AZ
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setMemory(Long Memory)
Set Memory size in GB
|
void |
setMemoryUsage(Float MemoryUsage)
Set Memory utilization in %
|
void |
setNodeCount(Long NodeCount)
Set Number of nodes.
|
void |
setPaymode(String Paymode)
Set Billing mode
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPeriodEndTime(String PeriodEndTime)
Set Expiration time
|
void |
setPid(Long Pid)
Set ProductID
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setProxyVersion(String ProxyVersion)
Set Proxy version
|
void |
setRegion(String Region)
Set Region
|
void |
setShardId(Long ShardId)
Set Numeric ID of a shard (this field is obsolete and should not be depended on)
|
void |
setShardInstanceId(String ShardInstanceId)
Set Globally unique shard ID
|
void |
setShardMasterZone(String ShardMasterZone)
Set Master AZ of a shard
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setShardSerialId(String ShardSerialId)
Set Shard SQL passthrough ID, which is used to pass through SQL statements to the specified shard for execution
|
void |
setShardSlaveZones(String[] ShardSlaveZones)
Set List of secondary AZs of a shard
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(Long Status)
Set Status.
|
void |
setStatusDesc(String StatusDesc)
Set Status description
|
void |
setStorage(Long Storage)
Set Storage capacity in GB
|
void |
setStorageUsage(Float StorageUsage)
Set Storage utilization in %
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID in string format
|
void |
setVpcId(String VpcId)
Set VPC ID in string format
|
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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getShardSerialId()
public void setShardSerialId(String ShardSerialId)
ShardSerialId
- Shard SQL passthrough ID, which is used to pass through SQL statements to the specified shard for executionpublic String getShardInstanceId()
public void setShardInstanceId(String ShardInstanceId)
ShardInstanceId
- Globally unique shard IDpublic Long getStatus()
public void setStatus(Long Status)
Status
- Status. 0: creating; 1: processing; 2: running; 3: shard not initializedpublic String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc
- Status descriptionpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID in string formatpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID in string formatpublic 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 Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity in GBpublic String getPeriodEndTime()
public void setPeriodEndTime(String PeriodEndTime)
PeriodEndTime
- Expiration timepublic Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount
- Number of nodes. 2: one primary and one secondary; 3: one primary and two secondariespublic Float getStorageUsage()
public void setStorageUsage(Float StorageUsage)
StorageUsage
- Storage utilization in %public Float getMemoryUsage()
public void setMemoryUsage(Float MemoryUsage)
MemoryUsage
- Memory utilization in %public Long getShardId()
public void setShardId(Long ShardId)
ShardId
- Numeric ID of a shard (this field is obsolete and should not be depended on)public Long getPid()
public void setPid(Long Pid)
Pid
- ProductIDpublic String getProxyVersion()
public void setProxyVersion(String ProxyVersion)
ProxyVersion
- Proxy versionpublic String getPaymode()
public void setPaymode(String Paymode)
Paymode
- Billing mode
Note: this field may return null, indicating that no valid values can be obtained.public String getShardMasterZone()
public void setShardMasterZone(String ShardMasterZone)
ShardMasterZone
- Master AZ of a shard
Note: this field may return null, indicating that no valid values can be obtained.public String[] getShardSlaveZones()
public void setShardSlaveZones(String[] ShardSlaveZones)
ShardSlaveZones
- List of secondary AZs of a shard
Note: this field may return null, indicating that no valid values can be obtained.public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU coresCopyright © 2020. All rights reserved.