public class CreateDBInstanceParamTplRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateDBInstanceParamTplRequest() |
CreateDBInstanceParamTplRequest(CreateDBInstanceParamTplRequest 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 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
当MirrorTplId为空时,该字段必填。
|
String |
getMirrorTplId()
Get 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。
|
String |
getMongoVersion()
Get 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。
|
ParamType[] |
getParams()
Get 模板参数,若为空,则以系统默认模板作为新版本参数。
|
String |
getTplDesc()
Get 模板描述信息。
|
String |
getTplName()
Get 参数模板名称。
|
void |
setClusterType(String ClusterType)
Set 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
当MirrorTplId为空时,该字段必填。
|
void |
setMirrorTplId(String MirrorTplId)
Set 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。
|
void |
setMongoVersion(String MongoVersion)
Set 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。
|
void |
setParams(ParamType[] Params)
Set 模板参数,若为空,则以系统默认模板作为新版本参数。
|
void |
setTplDesc(String TplDesc)
Set 模板描述信息。
|
void |
setTplName(String TplName)
Set 参数模板名称。
|
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 CreateDBInstanceParamTplRequest()
public CreateDBInstanceParamTplRequest(CreateDBInstanceParamTplRequest source)
public String getTplName()
public void setTplName(String TplName)
TplName
- 参数模板名称。public String getMongoVersion()
public void setMongoVersion(String MongoVersion)
MongoVersion
- 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
当MirrorTplId为空时,该字段必填。public String getTplDesc()
public void setTplDesc(String TplDesc)
TplDesc
- 模板描述信息。public ParamType[] getParams()
public void setParams(ParamType[] Params)
Params
- 模板参数,若为空,则以系统默认模板作为新版本参数。public String getMirrorTplId()
public void setMirrorTplId(String MirrorTplId)
MirrorTplId
- 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。Copyright © 2024. All rights reserved.