Class UpdateInstanceSettings
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.UpdateInstanceSettings
-
public class UpdateInstanceSettings extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdateInstanceSettings()UpdateInstanceSettings(UpdateInstanceSettings 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 LonggetCPUCores()Get CPU核数StringgetInstanceType()Get 变配机器规格LonggetMemory()Get 内存容量,单位为GStringgetResourceId()Get 机器资源ID(EMR测资源标识)voidsetCPUCores(Long CPUCores)Set CPU核数voidsetInstanceType(String InstanceType)Set 变配机器规格voidsetMemory(Long Memory)Set 内存容量,单位为GvoidsetResourceId(String ResourceId)Set 机器资源ID(EMR测资源标识)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
-
UpdateInstanceSettings
public UpdateInstanceSettings()
-
UpdateInstanceSettings
public UpdateInstanceSettings(UpdateInstanceSettings 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
-
getMemory
public Long getMemory()
Get 内存容量,单位为G- Returns:
- Memory 内存容量,单位为G
-
setMemory
public void setMemory(Long Memory)
Set 内存容量,单位为G- Parameters:
Memory- 内存容量,单位为G
-
getCPUCores
public Long getCPUCores()
Get CPU核数- Returns:
- CPUCores CPU核数
-
setCPUCores
public void setCPUCores(Long CPUCores)
Set CPU核数- Parameters:
CPUCores- CPU核数
-
getResourceId
public String getResourceId()
Get 机器资源ID(EMR测资源标识)- Returns:
- ResourceId 机器资源ID(EMR测资源标识)
-
setResourceId
public void setResourceId(String ResourceId)
Set 机器资源ID(EMR测资源标识)- Parameters:
ResourceId- 机器资源ID(EMR测资源标识)
-
getInstanceType
public String getInstanceType()
Get 变配机器规格- Returns:
- InstanceType 变配机器规格
-
setInstanceType
public void setInstanceType(String InstanceType)
Set 变配机器规格- Parameters:
InstanceType- 变配机器规格
-
-