public class ShardInfo extends AbstractModel
| Constructor and Description | 
|---|
| ShardInfo() | 
| ShardInfo(ShardInfo 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 | 
| Long | getMemory()Get Memory size in GB | 
| Long | getNodeCount()Get Number of nodes. | 
| Long | getPid()Get Product type ID (this field is obsolete and should not be depended on) | 
| Long | getShardId()Get Numeric ID of a shard | 
| String | getShardInstanceId()Get Shard ID | 
| String | getShardSerialId()Get Shard set ID | 
| Long | getStatus()Get Status. | 
| Long | getStorage()Get Storage capacity in GB | 
| void | setCpu(Long Cpu)Set Number of CPU cores | 
| void | setCreatetime(String Createtime)Set Creation time | 
| void | setMemory(Long Memory)Set Memory size in GB | 
| void | setNodeCount(Long NodeCount)Set Number of nodes. | 
| void | setPid(Long Pid)Set Product type ID (this field is obsolete and should not be depended on) | 
| void | setShardId(Long ShardId)Set Numeric ID of a shard | 
| void | setShardInstanceId(String ShardInstanceId)Set Shard ID | 
| void | setShardSerialId(String ShardSerialId)Set Shard set ID | 
| void | setStatus(Long Status)Set Status. | 
| void | setStorage(Long Storage)Set Storage capacity in GB | 
| 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, toJsonStringpublic ShardInfo()
public ShardInfo(ShardInfo source)
public String getShardInstanceId()
public void setShardInstanceId(String ShardInstanceId)
ShardInstanceId - Shard IDpublic String getShardSerialId()
public void setShardSerialId(String ShardSerialId)
ShardSerialId - Shard set IDpublic Long getStatus()
public void setStatus(Long Status)
Status - Status. 0: creating; 1: processing; 2: running; 3: shard not initialized; -2: shard deletedpublic String getCreatetime()
public void setCreatetime(String Createtime)
Createtime - Creation timepublic Long getMemory()
public void setMemory(Long Memory)
Memory - Memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage - Storage capacity in GBpublic Long getShardId()
public void setShardId(Long ShardId)
ShardId - Numeric ID of a shardpublic Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount - Number of nodes. 2: one primary and one secondary; 3: one primary and two secondariespublic Long getPid()
public void setPid(Long Pid)
Pid - Product type ID (this field is obsolete and should not be depended on)public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU coresCopyright © 2021. All rights reserved.