public class CreateDBInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateDBInstanceRequest() |
CreateDBInstanceRequest(CreateDBInstanceRequest 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 |
getGoodsNum()
Get 实例数量,默认值为1, 最小值1,最大值为10
|
String |
getMachineCode()
Get 机器类型,GIO:高IO版;TGIO:高IO万兆
|
Long |
getMemory()
Get 实例内存大小,单位:GB
|
String |
getMongoVersion()
Get 版本号,当前支持 MONGO_3_WT、MONGO_3_ROCKS、MONGO_36_WT
|
String |
getPassword()
Get 实例密码
|
Long |
getProjectId()
Get 项目ID,不填为默认项目
|
Long |
getSecondaryNum()
Get 每个副本集内从节点个数
|
String[] |
getSecurityGroup()
Get 安全组参数
|
Long |
getTimeSpan()
Get 时长,购买月数
|
String |
getUniqSubnetId()
Get 私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填
|
String |
getUniqVpcId()
Get 私有网络ID,如果不传则默认选择基础网络
|
Long |
getVolume()
Get 实例硬盘大小,单位:GB
|
String |
getZone()
Get 实例所属区域名称,格式如:ap-guangzhou-2
|
void |
setGoodsNum(Long GoodsNum)
Set 实例数量,默认值为1, 最小值1,最大值为10
|
void |
setMachineCode(String MachineCode)
Set 机器类型,GIO:高IO版;TGIO:高IO万兆
|
void |
setMemory(Long Memory)
Set 实例内存大小,单位:GB
|
void |
setMongoVersion(String MongoVersion)
Set 版本号,当前支持 MONGO_3_WT、MONGO_3_ROCKS、MONGO_36_WT
|
void |
setPassword(String Password)
Set 实例密码
|
void |
setProjectId(Long ProjectId)
Set 项目ID,不填为默认项目
|
void |
setSecondaryNum(Long SecondaryNum)
Set 每个副本集内从节点个数
|
void |
setSecurityGroup(String[] SecurityGroup)
Set 安全组参数
|
void |
setTimeSpan(Long TimeSpan)
Set 时长,购买月数
|
void |
setUniqSubnetId(String UniqSubnetId)
Set 私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填
|
void |
setUniqVpcId(String UniqVpcId)
Set 私有网络ID,如果不传则默认选择基础网络
|
void |
setVolume(Long Volume)
Set 实例硬盘大小,单位:GB
|
void |
setZone(String Zone)
Set 实例所属区域名称,格式如:ap-guangzhou-2
|
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 CreateDBInstanceRequest()
public CreateDBInstanceRequest(CreateDBInstanceRequest source)
public Long getSecondaryNum()
public void setSecondaryNum(Long SecondaryNum)
SecondaryNum
- 每个副本集内从节点个数public Long getMemory()
public void setMemory(Long Memory)
Memory
- 实例内存大小,单位:GBpublic Long getVolume()
public void setVolume(Long Volume)
Volume
- 实例硬盘大小,单位:GBpublic String getMongoVersion()
public void setMongoVersion(String MongoVersion)
MongoVersion
- 版本号,当前支持 MONGO_3_WT、MONGO_3_ROCKS、MONGO_36_WTpublic String getMachineCode()
public void setMachineCode(String MachineCode)
MachineCode
- 机器类型,GIO:高IO版;TGIO:高IO万兆public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- 实例数量,默认值为1, 最小值1,最大值为10public String getZone()
public void setZone(String Zone)
Zone
- 实例所属区域名称,格式如:ap-guangzhou-2public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 时长,购买月数public String getPassword()
public void setPassword(String Password)
Password
- 实例密码public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- 项目ID,不填为默认项目public String[] getSecurityGroup()
public void setSecurityGroup(String[] SecurityGroup)
SecurityGroup
- 安全组参数public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- 私有网络ID,如果不传则默认选择基础网络public String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- 私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填Copyright © 2024. All rights reserved.