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 实例类型。当 MirrorTplId 为空值时,该参数必填。
- REPLSET:副本集实例。
- SHARD:分片实例。
- STANDALONE:单节点实例。 | 
| String | getMirrorTplId()Get 镜像模板 ID。若指定镜像模板,则以该模板为镜像,克隆出一个新的模板。
注意**:MirrorTplId 不为空值时,MongoVersion 及 ClusterType 将以 MirrorTpl 模板的版本及实例类型为准。 | 
| String | getMongoVersion()Get 参数模板版本号。当**MirrorTplId**为空时,该字段必填。参数模板支持的售卖版本,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/35767) 获取。
- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
- MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。 | 
| ParamType[] | getParams()Get 模板参数,若不配置该参数,则以系统默认模板作为新版本参数。 | 
| String | getTplDesc()Get 模板描述信息。 | 
| String | getTplName()Get 参数模板名称。 | 
| void | setClusterType(String ClusterType)Set 实例类型。当 MirrorTplId 为空值时,该参数必填。
- REPLSET:副本集实例。
- SHARD:分片实例。
- STANDALONE:单节点实例。 | 
| void | setMirrorTplId(String MirrorTplId)Set 镜像模板 ID。若指定镜像模板,则以该模板为镜像,克隆出一个新的模板。
注意**:MirrorTplId 不为空值时,MongoVersion 及 ClusterType 将以 MirrorTpl 模板的版本及实例类型为准。 | 
| void | setMongoVersion(String MongoVersion)Set 参数模板版本号。当**MirrorTplId**为空时,该字段必填。参数模板支持的售卖版本,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/35767) 获取。
- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
- MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。 | 
| 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, toJsonStringpublic CreateDBInstanceParamTplRequest()
public CreateDBInstanceParamTplRequest(CreateDBInstanceParamTplRequest source)
public String getTplName()
public void setTplName(String TplName)
TplName - 参数模板名称。public String getMongoVersion()
public void setMongoVersion(String MongoVersion)
MongoVersion - 参数模板版本号。当**MirrorTplId**为空时,该字段必填。参数模板支持的售卖版本,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/35767) 获取。
- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
- MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType - 实例类型。当 MirrorTplId 为空值时,该参数必填。
- REPLSET:副本集实例。
- SHARD:分片实例。
- STANDALONE:单节点实例。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 © 2025. All rights reserved.