public class InquirePriceCreateDBInstancesRequest extends AbstractModel
| Constructor and Description | 
|---|
| InquirePriceCreateDBInstancesRequest() | 
| InquirePriceCreateDBInstancesRequest(InquirePriceCreateDBInstancesRequest 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 | getClusterType()Get Instance type. | 
| Long | getGoodsNum()Get Number of instances. | 
| String | getMachineCode()Get Server type. | 
| Long | getMemory()Get Instance memory size in GB. | 
| String | getMongoVersion()Get Version number. | 
| Long | getNodeNum()Get The number of nodes in each replica set. | 
| Long | getPeriod()Get Instance validity period in months. | 
| Long | getReplicateSetNum()Get Number of replica sets. | 
| Long | getVolume()Get Instance disk size in GB. | 
| String | getZone()Get Instance region name in the format of ap-guangzhou-2. | 
| void | setClusterType(String ClusterType)Set Instance type. | 
| void | setGoodsNum(Long GoodsNum)Set Number of instances. | 
| void | setMachineCode(String MachineCode)Set Server type. | 
| void | setMemory(Long Memory)Set Instance memory size in GB. | 
| void | setMongoVersion(String MongoVersion)Set Version number. | 
| void | setNodeNum(Long NodeNum)Set The number of nodes in each replica set. | 
| void | setPeriod(Long Period)Set Instance validity period in months. | 
| void | setReplicateSetNum(Long ReplicateSetNum)Set Number of replica sets. | 
| void | setVolume(Long Volume)Set Instance disk size in GB. | 
| void | setZone(String Zone)Set Instance region name in the format of ap-guangzhou-2. | 
| 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 InquirePriceCreateDBInstancesRequest()
public InquirePriceCreateDBInstancesRequest(InquirePriceCreateDBInstancesRequest source)
public String getZone()
public void setZone(String Zone)
Zone - Instance region name in the format of ap-guangzhou-2.public Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum - The number of nodes in each replica set. The value range is subject to the response parameter of the `DescribeSpecInfo` API.public Long getMemory()
public void setMemory(Long Memory)
Memory - Instance memory size in GB.public Long getVolume()
public void setVolume(Long Volume)
Volume - Instance disk size in GB.public String getMongoVersion()
public void setMongoVersion(String MongoVersion)
MongoVersion - Version number. For the specific purchasable versions supported, please see the return result of the `DescribeSpecInfo` API. The correspondences between parameters and versions are as follows: MONGO_3_WT: MongoDB 3.2 WiredTiger Edition; MONGO_3_ROCKS: MongoDB 3.2 RocksDB Edition; MONGO_36_WT: MongoDB 3.6 WiredTiger Edition; MONGO_40_WT: MongoDB 4.0 WiredTiger Edition.public String getMachineCode()
public void setMachineCode(String MachineCode)
MachineCode - Server type. Valid values: `HIO` (high IO), `HIO10G` (ten-gigabit high IO)public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum - Number of instances. Minimum value: 1. Maximum value: 10.public Long getPeriod()
public void setPeriod(Long Period)
Period - Instance validity period in months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType - Instance type. Valid values: REPLSET (replica set), SHARD (sharded cluster), STANDALONE (single-node).public Long getReplicateSetNum()
public void setReplicateSetNum(Long ReplicateSetNum)
ReplicateSetNum - Number of replica sets. To create a replica set instance, set this parameter to 1; to create a shard instance, see the parameters returned by the `DescribeSpecInfo` API; to create a single-node instance, set this parameter to 0.Copyright © 2022. All rights reserved.