public class CreatePublicConfigRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreatePublicConfigRequest() |
CreatePublicConfigRequest(CreatePublicConfigRequest 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 |
getConfigName()
Get 配置名称,最长60个字符,只能包含字母、数字及分隔符(“-”、“_”),且不能以分隔符开头或结尾。
|
String |
getConfigType()
Get 配置项类型,固定值。
|
String |
getConfigValue()
Get 配置项值,总是接收yaml格式的内容。
|
String |
getConfigVersion()
Get 配置版本,只能包含小写字母、数字及分隔符("-","."),且必须以小写字母或数字开头、以小写字母或数字结尾,中间不能有连续的"-"或"."。
|
String |
getConfigVersionDesc()
Get 配置项版本描述,最多支持200个字符。
|
Boolean |
getEncodeWithBase64()
Get Base64编码的配置项。
- true:开启
- false:关闭
|
String[] |
getProgramIdList()
Get 需要绑定的数据集ID。该参数可以通过调用 [DescribePrograms](https://cloud.tencent.com/document/product/649/73477) 的返回值中的 ProgramId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/privilege?tab=program&roleId=role-yrle4doy)查看;也可以调用[CreateProgram](https://cloud.tencent.com/document/product/649/108544)创建新的数据集。
|
void |
setConfigName(String ConfigName)
Set 配置名称,最长60个字符,只能包含字母、数字及分隔符(“-”、“_”),且不能以分隔符开头或结尾。
|
void |
setConfigType(String ConfigType)
Set 配置项类型,固定值。
|
void |
setConfigValue(String ConfigValue)
Set 配置项值,总是接收yaml格式的内容。
|
void |
setConfigVersion(String ConfigVersion)
Set 配置版本,只能包含小写字母、数字及分隔符("-","."),且必须以小写字母或数字开头、以小写字母或数字结尾,中间不能有连续的"-"或"."。
|
void |
setConfigVersionDesc(String ConfigVersionDesc)
Set 配置项版本描述,最多支持200个字符。
|
void |
setEncodeWithBase64(Boolean EncodeWithBase64)
Set Base64编码的配置项。
- true:开启
- false:关闭
|
void |
setProgramIdList(String[] ProgramIdList)
Set 需要绑定的数据集ID。该参数可以通过调用 [DescribePrograms](https://cloud.tencent.com/document/product/649/73477) 的返回值中的 ProgramId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/privilege?tab=program&roleId=role-yrle4doy)查看;也可以调用[CreateProgram](https://cloud.tencent.com/document/product/649/108544)创建新的数据集。
|
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 CreatePublicConfigRequest()
public CreatePublicConfigRequest(CreatePublicConfigRequest source)
public String getConfigName()
public void setConfigName(String ConfigName)
ConfigName
- 配置名称,最长60个字符,只能包含字母、数字及分隔符(“-”、“_”),且不能以分隔符开头或结尾。public String getConfigVersion()
public void setConfigVersion(String ConfigVersion)
ConfigVersion
- 配置版本,只能包含小写字母、数字及分隔符("-","."),且必须以小写字母或数字开头、以小写字母或数字结尾,中间不能有连续的"-"或"."。public String getConfigValue()
public void setConfigValue(String ConfigValue)
ConfigValue
- 配置项值,总是接收yaml格式的内容。public String getConfigVersionDesc()
public void setConfigVersionDesc(String ConfigVersionDesc)
ConfigVersionDesc
- 配置项版本描述,最多支持200个字符。public String getConfigType()
public void setConfigType(String ConfigType)
ConfigType
- 配置项类型,固定值。public Boolean getEncodeWithBase64()
public void setEncodeWithBase64(Boolean EncodeWithBase64)
EncodeWithBase64
- Base64编码的配置项。
- true:开启
- false:关闭public String[] getProgramIdList()
public void setProgramIdList(String[] ProgramIdList)
ProgramIdList
- 需要绑定的数据集ID。该参数可以通过调用 [DescribePrograms](https://cloud.tencent.com/document/product/649/73477) 的返回值中的 ProgramId 字段来获取或通过登录[控制台](https://console.cloud.tencent.com/tsf/privilege?tab=program&roleId=role-yrle4doy)查看;也可以调用[CreateProgram](https://cloud.tencent.com/document/product/649/108544)创建新的数据集。Copyright © 2025. All rights reserved.