Class UpdateServiceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiems.v20190416.models.UpdateServiceRequest
-
public class UpdateServiceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdateServiceRequest()UpdateServiceRequest(UpdateServiceRequest 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 LonggetCpu()Get 处理器配置,单位为 1/1000 核StringgetDescription()Get 备注LonggetGpu()Get 显卡配置,单位为 1/1000 卡StringgetGpuType()Get GPU卡类型StringgetLogTopicId()Get Cls日志主题IDLonggetMemory()Get 内存配置,单位为1MStringgetScaleMode()Get 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容ScalergetScaler()Get 扩缩容配置StringgetServiceAction()Get 支持STOP(停止) RESUME(重启)StringgetServiceConfigId()Get 服务配置IdStringgetServiceId()Get 服务IdvoidsetCpu(Long Cpu)Set 处理器配置,单位为 1/1000 核voidsetDescription(String Description)Set 备注voidsetGpu(Long Gpu)Set 显卡配置,单位为 1/1000 卡voidsetGpuType(String GpuType)Set GPU卡类型voidsetLogTopicId(String LogTopicId)Set Cls日志主题IDvoidsetMemory(Long Memory)Set 内存配置,单位为1MvoidsetScaleMode(String ScaleMode)Set 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容voidsetScaler(Scaler Scaler)Set 扩缩容配置voidsetServiceAction(String ServiceAction)Set 支持STOP(停止) RESUME(重启)voidsetServiceConfigId(String ServiceConfigId)Set 服务配置IdvoidsetServiceId(String ServiceId)Set 服务IdvoidtoMap(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
-
UpdateServiceRequest
public UpdateServiceRequest()
-
UpdateServiceRequest
public UpdateServiceRequest(UpdateServiceRequest 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
-
getServiceId
public String getServiceId()
Get 服务Id- Returns:
- ServiceId 服务Id
-
setServiceId
public void setServiceId(String ServiceId)
Set 服务Id- Parameters:
ServiceId- 服务Id
-
getScaler
public Scaler getScaler()
Get 扩缩容配置- Returns:
- Scaler 扩缩容配置
-
setScaler
public void setScaler(Scaler Scaler)
Set 扩缩容配置- Parameters:
Scaler- 扩缩容配置
-
getServiceConfigId
public String getServiceConfigId()
Get 服务配置Id- Returns:
- ServiceConfigId 服务配置Id
-
setServiceConfigId
public void setServiceConfigId(String ServiceConfigId)
Set 服务配置Id- Parameters:
ServiceConfigId- 服务配置Id
-
getScaleMode
public String getScaleMode()
Get 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容- Returns:
- ScaleMode 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容
-
setScaleMode
public void setScaleMode(String ScaleMode)
Set 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容- Parameters:
ScaleMode- 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容
-
getServiceAction
public String getServiceAction()
Get 支持STOP(停止) RESUME(重启)- Returns:
- ServiceAction 支持STOP(停止) RESUME(重启)
-
setServiceAction
public void setServiceAction(String ServiceAction)
Set 支持STOP(停止) RESUME(重启)- Parameters:
ServiceAction- 支持STOP(停止) RESUME(重启)
-
getDescription
public String getDescription()
Get 备注- Returns:
- Description 备注
-
setDescription
public void setDescription(String Description)
Set 备注- Parameters:
Description- 备注
-
getGpuType
public String getGpuType()
Get GPU卡类型- Returns:
- GpuType GPU卡类型
-
setGpuType
public void setGpuType(String GpuType)
Set GPU卡类型- Parameters:
GpuType- GPU卡类型
-
getCpu
public Long getCpu()
Get 处理器配置,单位为 1/1000 核- Returns:
- Cpu 处理器配置,单位为 1/1000 核
-
setCpu
public void setCpu(Long Cpu)
Set 处理器配置,单位为 1/1000 核- Parameters:
Cpu- 处理器配置,单位为 1/1000 核
-
getMemory
public Long getMemory()
Get 内存配置,单位为1M- Returns:
- Memory 内存配置,单位为1M
-
setMemory
public void setMemory(Long Memory)
Set 内存配置,单位为1M- Parameters:
Memory- 内存配置,单位为1M
-
getGpu
public Long getGpu()
Get 显卡配置,单位为 1/1000 卡- Returns:
- Gpu 显卡配置,单位为 1/1000 卡
-
setGpu
public void setGpu(Long Gpu)
Set 显卡配置,单位为 1/1000 卡- Parameters:
Gpu- 显卡配置,单位为 1/1000 卡
-
getLogTopicId
public String getLogTopicId()
Get Cls日志主题ID- Returns:
- LogTopicId Cls日志主题ID
-
setLogTopicId
public void setLogTopicId(String LogTopicId)
Set Cls日志主题ID- Parameters:
LogTopicId- Cls日志主题ID
-
-