Class ServerBaseConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcbr.v20220217.models.ServerBaseConfig
-
public class ServerBaseConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ServerBaseConfig()ServerBaseConfig(ServerBaseConfig 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 StringgetBuildDir()Get 构建目录FloatgetCpu()Get Cpu 规格StringgetCreateTime()Get 创建时间StringgetCustomLogs()Get 日志采集路径StringgetDockerfile()Get Dockerfile 文件名StringgetEnvId()Get 环境 IdStringgetEnvParams()Get 环境变量BooleangetHasDockerfile()Get 是否有DockerfileLonggetInitialDelaySeconds()Get 延迟检测时间StringgetLogParseType()Get 解析类型:json | lineStringgetLogSetId()Get cls setIdStringgetLogTopicId()Get cls 主题idStringgetLogType()Get 日志类型: none | default | customLonggetMaxNum()Get 最大副本数FloatgetMem()Get Mem 规格LonggetMinNum()Get 最小副本数String[]getOpenAccessTypes()Get 是否开启公网访问HpaPolicy[]getPolicyDetails()Get 扩缩容配置LonggetPort()Get 服务端口StringgetServerName()Get 服务名voidsetBuildDir(String BuildDir)Set 构建目录voidsetCpu(Float Cpu)Set Cpu 规格voidsetCreateTime(String CreateTime)Set 创建时间voidsetCustomLogs(String CustomLogs)Set 日志采集路径voidsetDockerfile(String Dockerfile)Set Dockerfile 文件名voidsetEnvId(String EnvId)Set 环境 IdvoidsetEnvParams(String EnvParams)Set 环境变量voidsetHasDockerfile(Boolean HasDockerfile)Set 是否有DockerfilevoidsetInitialDelaySeconds(Long InitialDelaySeconds)Set 延迟检测时间voidsetLogParseType(String LogParseType)Set 解析类型:json | linevoidsetLogSetId(String LogSetId)Set cls setIdvoidsetLogTopicId(String LogTopicId)Set cls 主题idvoidsetLogType(String LogType)Set 日志类型: none | default | customvoidsetMaxNum(Long MaxNum)Set 最大副本数voidsetMem(Float Mem)Set Mem 规格voidsetMinNum(Long MinNum)Set 最小副本数voidsetOpenAccessTypes(String[] OpenAccessTypes)Set 是否开启公网访问voidsetPolicyDetails(HpaPolicy[] PolicyDetails)Set 扩缩容配置voidsetPort(Long Port)Set 服务端口voidsetServerName(String ServerName)Set 服务名voidtoMap(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
-
ServerBaseConfig
public ServerBaseConfig()
-
ServerBaseConfig
public ServerBaseConfig(ServerBaseConfig 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
-
getEnvId
public String getEnvId()
Get 环境 Id- Returns:
- EnvId 环境 Id
-
setEnvId
public void setEnvId(String EnvId)
Set 环境 Id- Parameters:
EnvId- 环境 Id
-
getServerName
public String getServerName()
Get 服务名- Returns:
- ServerName 服务名
-
setServerName
public void setServerName(String ServerName)
Set 服务名- Parameters:
ServerName- 服务名
-
getOpenAccessTypes
public String[] getOpenAccessTypes()
Get 是否开启公网访问- Returns:
- OpenAccessTypes 是否开启公网访问
-
setOpenAccessTypes
public void setOpenAccessTypes(String[] OpenAccessTypes)
Set 是否开启公网访问- Parameters:
OpenAccessTypes- 是否开启公网访问
-
getCpu
public Float getCpu()
Get Cpu 规格- Returns:
- Cpu Cpu 规格
-
setCpu
public void setCpu(Float Cpu)
Set Cpu 规格- Parameters:
Cpu- Cpu 规格
-
getMem
public Float getMem()
Get Mem 规格- Returns:
- Mem Mem 规格
-
setMem
public void setMem(Float Mem)
Set Mem 规格- Parameters:
Mem- Mem 规格
-
getMinNum
public Long getMinNum()
Get 最小副本数- Returns:
- MinNum 最小副本数
-
setMinNum
public void setMinNum(Long MinNum)
Set 最小副本数- Parameters:
MinNum- 最小副本数
-
getMaxNum
public Long getMaxNum()
Get 最大副本数- Returns:
- MaxNum 最大副本数
-
setMaxNum
public void setMaxNum(Long MaxNum)
Set 最大副本数- Parameters:
MaxNum- 最大副本数
-
getPolicyDetails
public HpaPolicy[] getPolicyDetails()
Get 扩缩容配置- Returns:
- PolicyDetails 扩缩容配置
-
setPolicyDetails
public void setPolicyDetails(HpaPolicy[] PolicyDetails)
Set 扩缩容配置- Parameters:
PolicyDetails- 扩缩容配置
-
getCustomLogs
public String getCustomLogs()
Get 日志采集路径- Returns:
- CustomLogs 日志采集路径
-
setCustomLogs
public void setCustomLogs(String CustomLogs)
Set 日志采集路径- Parameters:
CustomLogs- 日志采集路径
-
getEnvParams
public String getEnvParams()
Get 环境变量- Returns:
- EnvParams 环境变量
-
setEnvParams
public void setEnvParams(String EnvParams)
Set 环境变量- Parameters:
EnvParams- 环境变量
-
getInitialDelaySeconds
public Long getInitialDelaySeconds()
Get 延迟检测时间- Returns:
- InitialDelaySeconds 延迟检测时间
-
setInitialDelaySeconds
public void setInitialDelaySeconds(Long InitialDelaySeconds)
Set 延迟检测时间- Parameters:
InitialDelaySeconds- 延迟检测时间
-
getCreateTime
public String getCreateTime()
Get 创建时间- Returns:
- CreateTime 创建时间
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间- Parameters:
CreateTime- 创建时间
-
getPort
public Long getPort()
Get 服务端口- Returns:
- Port 服务端口
-
setPort
public void setPort(Long Port)
Set 服务端口- Parameters:
Port- 服务端口
-
getHasDockerfile
public Boolean getHasDockerfile()
Get 是否有Dockerfile- Returns:
- HasDockerfile 是否有Dockerfile
-
setHasDockerfile
public void setHasDockerfile(Boolean HasDockerfile)
Set 是否有Dockerfile- Parameters:
HasDockerfile- 是否有Dockerfile
-
getDockerfile
public String getDockerfile()
Get Dockerfile 文件名- Returns:
- Dockerfile Dockerfile 文件名
-
setDockerfile
public void setDockerfile(String Dockerfile)
Set Dockerfile 文件名- Parameters:
Dockerfile- Dockerfile 文件名
-
getBuildDir
public String getBuildDir()
Get 构建目录- Returns:
- BuildDir 构建目录
-
setBuildDir
public void setBuildDir(String BuildDir)
Set 构建目录- Parameters:
BuildDir- 构建目录
-
getLogType
public String getLogType()
Get 日志类型: none | default | custom- Returns:
- LogType 日志类型: none | default | custom
-
setLogType
public void setLogType(String LogType)
Set 日志类型: none | default | custom- Parameters:
LogType- 日志类型: none | default | custom
-
getLogSetId
public String getLogSetId()
Get cls setId- Returns:
- LogSetId cls setId
-
setLogSetId
public void setLogSetId(String LogSetId)
Set cls setId- Parameters:
LogSetId- cls setId
-
getLogTopicId
public String getLogTopicId()
Get cls 主题id- Returns:
- LogTopicId cls 主题id
-
setLogTopicId
public void setLogTopicId(String LogTopicId)
Set cls 主题id- Parameters:
LogTopicId- cls 主题id
-
getLogParseType
public String getLogParseType()
Get 解析类型:json | line- Returns:
- LogParseType 解析类型:json | line
-
setLogParseType
public void setLogParseType(String LogParseType)
Set 解析类型:json | line- Parameters:
LogParseType- 解析类型:json | line
-
-