Class PodSaleSpec
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.PodSaleSpec
-
public class PodSaleSpec extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PodSaleSpec()PodSaleSpec(PodSaleSpec 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 Cpu核数。LonggetMemory()Get 内存数量,单位为GB。StringgetNodeType()Get 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。LonggetNumber()Get 该规格资源可申请的最大数量。voidsetCpu(Long Cpu)Set Cpu核数。voidsetMemory(Long Memory)Set 内存数量,单位为GB。voidsetNodeType(String NodeType)Set 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。voidsetNumber(Long Number)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
-
PodSaleSpec
public PodSaleSpec()
-
PodSaleSpec
public PodSaleSpec(PodSaleSpec 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
-
getNodeType
public String getNodeType()
Get 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。- Returns:
- NodeType 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。
-
setNodeType
public void setNodeType(String NodeType)
Set 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。- Parameters:
NodeType- 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。
-
getCpu
public Long getCpu()
Get Cpu核数。- Returns:
- Cpu Cpu核数。
-
setCpu
public void setCpu(Long Cpu)
Set Cpu核数。- Parameters:
Cpu- Cpu核数。
-
getMemory
public Long getMemory()
Get 内存数量,单位为GB。- Returns:
- Memory 内存数量,单位为GB。
-
setMemory
public void setMemory(Long Memory)
Set 内存数量,单位为GB。- Parameters:
Memory- 内存数量,单位为GB。
-
getNumber
public Long getNumber()
Get 该规格资源可申请的最大数量。- Returns:
- Number 该规格资源可申请的最大数量。
-
setNumber
public void setNumber(Long Number)
Set 该规格资源可申请的最大数量。- Parameters:
Number- 该规格资源可申请的最大数量。
-
-