public class PodSaleSpec extends AbstractModel
header, skipSign| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getCpu()Get Cpu核数。 | 
| Long | getMemory()Get 内存数量,单位为GB。 | 
| String | getNodeType()Get 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。 | 
| Long | getNumber()Get 该规格资源可申请的最大数量。 | 
| void | setCpu(Long Cpu)Set Cpu核数。 | 
| void | setMemory(Long Memory)Set 内存数量,单位为GB。 | 
| void | setNodeType(String NodeType)Set 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。 | 
| void | setNumber(Long Number)Set 该规格资源可申请的最大数量。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PodSaleSpec()
public PodSaleSpec(PodSaleSpec source)
public String getNodeType()
public void setNodeType(String NodeType)
NodeType - 可售卖的资源规格,仅为以下值:"TASK","CORE","MASTER","ROUTER"。public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Cpu核数。public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存数量,单位为GB。public Long getNumber()
public void setNumber(Long Number)
Number - 该规格资源可申请的最大数量。Copyright © 2025. All rights reserved.