Class ExpandShardConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dcdb.v20180411.models.ExpandShardConfig
-
public class ExpandShardConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ExpandShardConfig()ExpandShardConfig(ExpandShardConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getShardInstanceIds()Get 分片ID数组LonggetShardMemory()Get 分片内存大小,单位 GBLonggetShardNodeCount()Get 分片节点数LonggetShardStorage()Get 分片存储大小,单位 GBvoidsetShardInstanceIds(String[] ShardInstanceIds)Set 分片ID数组voidsetShardMemory(Long ShardMemory)Set 分片内存大小,单位 GBvoidsetShardNodeCount(Long ShardNodeCount)Set 分片节点数voidsetShardStorage(Long ShardStorage)Set 分片存储大小,单位 GBvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ExpandShardConfig
public ExpandShardConfig()
-
ExpandShardConfig
public ExpandShardConfig(ExpandShardConfig 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.
-
-
Method Detail
-
getShardInstanceIds
public String[] getShardInstanceIds()
Get 分片ID数组- Returns:
- ShardInstanceIds 分片ID数组
-
setShardInstanceIds
public void setShardInstanceIds(String[] ShardInstanceIds)
Set 分片ID数组- Parameters:
ShardInstanceIds- 分片ID数组
-
getShardMemory
public Long getShardMemory()
Get 分片内存大小,单位 GB- Returns:
- ShardMemory 分片内存大小,单位 GB
-
setShardMemory
public void setShardMemory(Long ShardMemory)
Set 分片内存大小,单位 GB- Parameters:
ShardMemory- 分片内存大小,单位 GB
-
getShardStorage
public Long getShardStorage()
Get 分片存储大小,单位 GB- Returns:
- ShardStorage 分片存储大小,单位 GB
-
setShardStorage
public void setShardStorage(Long ShardStorage)
Set 分片存储大小,单位 GB- Parameters:
ShardStorage- 分片存储大小,单位 GB
-
getShardNodeCount
public Long getShardNodeCount()
Get 分片节点数- Returns:
- ShardNodeCount 分片节点数
-
setShardNodeCount
public void setShardNodeCount(Long ShardNodeCount)
Set 分片节点数- Parameters:
ShardNodeCount- 分片节点数
-
-