public class InquirePriceModifyDBInstanceSpecRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
InquirePriceModifyDBInstanceSpecRequest() |
InquirePriceModifyDBInstanceSpecRequest(InquirePriceModifyDBInstanceSpecRequest 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 |
---|---|
String |
getInstanceId()
Get Instance ID.
|
Long |
getMemory()
Get Instance memory size after configuration changes, in GB.
|
Long |
getNodeNum()
Get Number of instance nodes.
|
Long |
getReplicateSetNum()
Get Sharded cluster instance, which refers to the number of shards for the instance after configuration changes.
|
Long |
getVolume()
Get Instance disk size after configuration changes, in GB.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setMemory(Long Memory)
Set Instance memory size after configuration changes, in GB.
|
void |
setNodeNum(Long NodeNum)
Set Number of instance nodes.
|
void |
setReplicateSetNum(Long ReplicateSetNum)
Set Sharded cluster instance, which refers to the number of shards for the instance after configuration changes.
|
void |
setVolume(Long Volume)
Set Instance disk size after configuration changes, in 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, toJsonString
public InquirePriceModifyDBInstanceSpecRequest()
public InquirePriceModifyDBInstanceSpecRequest(InquirePriceModifyDBInstanceSpecRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. For example, cmgo-p8vn****. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and copy the instance ID from the instance list.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size after configuration changes, in GB. The [DescribeSpecInfo](https://www.tencentcloud.comom/document/product/240/38567?from_cn_redirect=1) API can be called to obtain the specific sales specifications for memory.public Long getVolume()
public void setVolume(Long Volume)
Volume
- Instance disk size after configuration changes, in GB. The [DescribeSpecInfo](https://www.tencentcloud.comom/document/product/240/38567?from_cn_redirect=1) API can be called to obtain the maximum and minimum disk sizes corresponding to each CPU specification.public Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- Number of instance nodes. The [DescribeSpecInfo](https://www.tencentcloud.comom/document/product/240/38567?from_cn_redirect=1) API can be called to obtain the number of instance nodes.
- Replica set instance, which refers to the number of primary and secondary nodes for the instance after configuration changes.
- Sharded cluster instance, which refers to the number of primary and secondary nodes per shard for the instance after configuration changes.
Note**: Do not initiate tasks of adjusting the number of nodes and shards and the node specifications simultaneously.public Long getReplicateSetNum()
public void setReplicateSetNum(Long ReplicateSetNum)
ReplicateSetNum
- Sharded cluster instance, which refers to the number of shards for the instance after configuration changes. Value range: [2, 36].
Note**: The number of shards after changes cannot be less than the current number. Do not initiate tasks of adjusting the number of nodes and shards and the node specifications simultaneously.Copyright © 2025. All rights reserved.