public class ShardInfo extends AbstractModel
header, skipSign| 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 Cpu核数 | 
| String | getCreatetime()Get 创建时间 | 
| Long | getMemory()Get 内存大小,单位 GB | 
| Long | getNodeCount()Get 节点数,2 为一主一从, 3 为一主二从 | 
| Long | getPid()Get 产品类型 Id(过时字段,请勿依赖该值) | 
| Long | getShardId()Get 分片数字ID | 
| String | getShardInstanceId()Get 分片ID | 
| String | getShardSerialId()Get 分片Set ID | 
| Long | getStatus()Get 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除 | 
| Long | getStorage()Get 存储大小,单位 GB | 
| void | setCpu(Long Cpu)Set Cpu核数 | 
| void | setCreatetime(String Createtime)Set 创建时间 | 
| void | setMemory(Long Memory)Set 内存大小,单位 GB | 
| void | setNodeCount(Long NodeCount)Set 节点数,2 为一主一从, 3 为一主二从 | 
| void | setPid(Long Pid)Set 产品类型 Id(过时字段,请勿依赖该值) | 
| void | setShardId(Long ShardId)Set 分片数字ID | 
| void | setShardInstanceId(String ShardInstanceId)Set 分片ID | 
| void | setShardSerialId(String ShardSerialId)Set 分片Set ID | 
| void | setStatus(Long Status)Set 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除 | 
| void | setStorage(Long Storage)Set 存储大小,单位 GB | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ShardInfo()
public ShardInfo(ShardInfo source)
public String getShardInstanceId()
public void setShardInstanceId(String ShardInstanceId)
ShardInstanceId - 分片IDpublic String getShardSerialId()
public void setShardSerialId(String ShardSerialId)
ShardSerialId - 分片Set IDpublic Long getStatus()
public void setStatus(Long Status)
Status - 状态:0 创建中,1 流程处理中, 2 运行中,3 分片未初始化,-2 分片已删除public String getCreatetime()
public void setCreatetime(String Createtime)
Createtime - 创建时间public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存大小,单位 GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage - 存储大小,单位 GBpublic Long getShardId()
public void setShardId(Long ShardId)
ShardId - 分片数字IDpublic Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount - 节点数,2 为一主一从, 3 为一主二从public Long getPid()
public void setPid(Long Pid)
Pid - 产品类型 Id(过时字段,请勿依赖该值)public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Cpu核数Copyright © 2025. All rights reserved.