public class DCDBShardInfo extends AbstractModel
skipSign
Constructor and Description |
---|
DCDBShardInfo() |
DCDBShardInfo(DCDBShardInfo 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 |
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 Product ID
|
Long |
getProjectId()
Get Project ID
|
String |
getProxyVersion()
Get Proxy version
|
String |
getRange()
Get The value range of shardkey, which includes 64 hash values, such as 0-31 or 32-63.
|
String |
getRegion()
Get Region
|
Long |
getShardId()
Get Numeric shard ID (this field is obsolete and should not be depended on)
|
String |
getShardInstanceId()
Get Globally unique shard ID
|
String |
getShardMasterZone()
Get Source AZ of the 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 replica AZs of the 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 Product ID
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setProxyVersion(String ProxyVersion)
Set Proxy version
|
void |
setRange(String Range)
Set The value range of shardkey, which includes 64 hash values, such as 0-31 or 32-63.
|
void |
setRegion(String Region)
Set Region
|
void |
setShardId(Long ShardId)
Set Numeric shard ID (this field is obsolete and should not be depended on)
|
void |
setShardInstanceId(String ShardInstanceId)
Set Globally unique shard ID
|
void |
setShardMasterZone(String ShardMasterZone)
Set Source AZ of the 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 replica AZs of the 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, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DCDBShardInfo()
public DCDBShardInfo(DCDBShardInfo source)
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 execution.public 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 initialized.public 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 source and one replica; 3: one source and two replicaspublic 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 shard ID (this field is obsolete and should not be depended on)public Long getPid()
public void setPid(Long Pid)
Pid
- Product IDpublic 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
- Source AZ of the 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 replica AZs of the 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 corespublic String getRange()
public void setRange(String Range)
Range
- The value range of shardkey, which includes 64 hash values, such as 0-31 or 32-63.Copyright © 2023. All rights reserved.