public class ShardBriefInfo extends AbstractModel
skipSign
Constructor and Description |
---|
ShardBriefInfo() |
ShardBriefInfo(ShardBriefInfo 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 Shard creation time
|
Long |
getLogDisk()
Get Log disk space size of a shard in GB
|
Long |
getMemory()
Get Shard memory size in GB
|
Long |
getNodeCount()
Get Number of shard nodes
|
NodeInfo[] |
getNodesInfo()
Get Node information
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getProxyVersion()
Get Version information of the shard proxy
|
String |
getShardInstanceId()
Get Shard ID, such as shard-7vg1o339.
|
String |
getShardMasterZone()
Get Source AZ of a shard
|
String |
getShardSerialId()
Get Shard serial ID
|
String[] |
getShardSlaveZones()
Get Replica AZ of a shard
|
Long |
getStatus()
Get Shard running status
|
String |
getStatusDesc()
Get Description of shard running status
|
Long |
getStorage()
Get Shard disk size in GB
|
Float |
getStorageUsage()
Get Disk space utilization of a shard
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setCreateTime(String CreateTime)
Set Shard creation time
|
void |
setLogDisk(Long LogDisk)
Set Log disk space size of a shard in GB
|
void |
setMemory(Long Memory)
Set Shard memory size in GB
|
void |
setNodeCount(Long NodeCount)
Set Number of shard nodes
|
void |
setNodesInfo(NodeInfo[] NodesInfo)
Set Node information
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProxyVersion(String ProxyVersion)
Set Version information of the shard proxy
|
void |
setShardInstanceId(String ShardInstanceId)
Set Shard ID, such as shard-7vg1o339.
|
void |
setShardMasterZone(String ShardMasterZone)
Set Source AZ of a shard
|
void |
setShardSerialId(String ShardSerialId)
Set Shard serial ID
|
void |
setShardSlaveZones(String[] ShardSlaveZones)
Set Replica AZ of a shard
|
void |
setStatus(Long Status)
Set Shard running status
|
void |
setStatusDesc(String StatusDesc)
Set Description of shard running status
|
void |
setStorage(Long Storage)
Set Shard disk size in GB
|
void |
setStorageUsage(Float StorageUsage)
Set Disk space utilization of a shard
|
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 ShardBriefInfo()
public ShardBriefInfo(ShardBriefInfo source)
public String getShardSerialId()
public void setShardSerialId(String ShardSerialId)
ShardSerialId
- Shard serial IDpublic String getShardInstanceId()
public void setShardInstanceId(String ShardInstanceId)
ShardInstanceId
- Shard ID, such as shard-7vg1o339.public Long getStatus()
public void setStatus(Long Status)
Status
- Shard running statuspublic String getStatusDesc()
public void setStatusDesc(String StatusDesc)
StatusDesc
- Description of shard running statuspublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Shard creation timepublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Shard memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Shard disk size in GBpublic Long getLogDisk()
public void setLogDisk(Long LogDisk)
LogDisk
- Log disk space size of a shard in GBpublic Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount
- Number of shard nodespublic Float getStorageUsage()
public void setStorageUsage(Float StorageUsage)
StorageUsage
- Disk space utilization of a shardpublic String getProxyVersion()
public void setProxyVersion(String ProxyVersion)
ProxyVersion
- Version information of the shard proxypublic String getShardMasterZone()
public void setShardMasterZone(String ShardMasterZone)
ShardMasterZone
- Source AZ of a shardpublic String[] getShardSlaveZones()
public void setShardSlaveZones(String[] ShardSlaveZones)
ShardSlaveZones
- Replica AZ of a shardpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU corespublic NodeInfo[] getNodesInfo()
public void setNodesInfo(NodeInfo[] NodesInfo)
NodesInfo
- Node information
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.