Class CreateFileConfigRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.CreateFileConfigRequest
-
public class CreateFileConfigRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateFileConfigRequest()
CreateFileConfigRequest(CreateFileConfigRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationId()
Get 配置项关联应用IDString
getConfigFileCode()
Get 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持String
getConfigFileName()
Get 配置项文件名String
getConfigFilePath()
Get 发布路径String
getConfigFileValue()
Get 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)String
getConfigName()
Get 配置项名称String
getConfigPostCmd()
Get 后置命令String
getConfigVersion()
Get 配置项版本String
getConfigVersionDesc()
Get 配置项版本描述Boolean
getEncodeWithBase64()
Get Base64编码的配置项String[]
getProgramIdList()
Get 无void
setApplicationId(String ApplicationId)
Set 配置项关联应用IDvoid
setConfigFileCode(String ConfigFileCode)
Set 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持void
setConfigFileName(String ConfigFileName)
Set 配置项文件名void
setConfigFilePath(String ConfigFilePath)
Set 发布路径void
setConfigFileValue(String ConfigFileValue)
Set 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)void
setConfigName(String ConfigName)
Set 配置项名称void
setConfigPostCmd(String ConfigPostCmd)
Set 后置命令void
setConfigVersion(String ConfigVersion)
Set 配置项版本void
setConfigVersionDesc(String ConfigVersionDesc)
Set 配置项版本描述void
setEncodeWithBase64(Boolean EncodeWithBase64)
Set Base64编码的配置项void
setProgramIdList(String[] ProgramIdList)
Set 无void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateFileConfigRequest
public CreateFileConfigRequest()
-
CreateFileConfigRequest
public CreateFileConfigRequest(CreateFileConfigRequest 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.
-
-
Method Detail
-
getConfigName
public String getConfigName()
Get 配置项名称- Returns:
- ConfigName 配置项名称
-
setConfigName
public void setConfigName(String ConfigName)
Set 配置项名称- Parameters:
ConfigName
- 配置项名称
-
getConfigVersion
public String getConfigVersion()
Get 配置项版本- Returns:
- ConfigVersion 配置项版本
-
setConfigVersion
public void setConfigVersion(String ConfigVersion)
Set 配置项版本- Parameters:
ConfigVersion
- 配置项版本
-
getConfigFileName
public String getConfigFileName()
Get 配置项文件名- Returns:
- ConfigFileName 配置项文件名
-
setConfigFileName
public void setConfigFileName(String ConfigFileName)
Set 配置项文件名- Parameters:
ConfigFileName
- 配置项文件名
-
getConfigFileValue
public String getConfigFileValue()
Get 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)- Returns:
- ConfigFileValue 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)
-
setConfigFileValue
public void setConfigFileValue(String ConfigFileValue)
Set 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)- Parameters:
ConfigFileValue
- 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)
-
getApplicationId
public String getApplicationId()
Get 配置项关联应用ID- Returns:
- ApplicationId 配置项关联应用ID
-
setApplicationId
public void setApplicationId(String ApplicationId)
Set 配置项关联应用ID- Parameters:
ApplicationId
- 配置项关联应用ID
-
getConfigFilePath
public String getConfigFilePath()
Get 发布路径- Returns:
- ConfigFilePath 发布路径
-
setConfigFilePath
public void setConfigFilePath(String ConfigFilePath)
Set 发布路径- Parameters:
ConfigFilePath
- 发布路径
-
getConfigVersionDesc
public String getConfigVersionDesc()
Get 配置项版本描述- Returns:
- ConfigVersionDesc 配置项版本描述
-
setConfigVersionDesc
public void setConfigVersionDesc(String ConfigVersionDesc)
Set 配置项版本描述- Parameters:
ConfigVersionDesc
- 配置项版本描述
-
getConfigFileCode
public String getConfigFileCode()
Get 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持- Returns:
- ConfigFileCode 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持
-
setConfigFileCode
public void setConfigFileCode(String ConfigFileCode)
Set 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持- Parameters:
ConfigFileCode
- 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持
-
getConfigPostCmd
public String getConfigPostCmd()
Get 后置命令- Returns:
- ConfigPostCmd 后置命令
-
setConfigPostCmd
public void setConfigPostCmd(String ConfigPostCmd)
Set 后置命令- Parameters:
ConfigPostCmd
- 后置命令
-
getEncodeWithBase64
public Boolean getEncodeWithBase64()
Get Base64编码的配置项- Returns:
- EncodeWithBase64 Base64编码的配置项
-
setEncodeWithBase64
public void setEncodeWithBase64(Boolean EncodeWithBase64)
Set Base64编码的配置项- Parameters:
EncodeWithBase64
- Base64编码的配置项
-
getProgramIdList
public String[] getProgramIdList()
Get 无- Returns:
- ProgramIdList 无
-
setProgramIdList
public void setProgramIdList(String[] ProgramIdList)
Set 无- Parameters:
ProgramIdList
- 无
-
-