public class ReservedInstanceSpec extends AbstractModel
header, skipSign
Constructor and Description |
---|
ReservedInstanceSpec() |
ReservedInstanceSpec(ReservedInstanceSpec 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 |
---|---|
Float |
getCpu()
Get 核数
|
Float |
getGpu()
Get GPU卡数,当Type为GPU类型时设置。
|
Float |
getMemory()
Get 内存
|
String |
getType()
Get 资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v、a10\*pnv4、windows-common、windows-amd,common表示通用类型。
|
void |
setCpu(Float Cpu)
Set 核数
|
void |
setGpu(Float Gpu)
Set GPU卡数,当Type为GPU类型时设置。
|
void |
setMemory(Float Memory)
Set 内存
|
void |
setType(String Type)
Set 资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v、a10\*pnv4、windows-common、windows-amd,common表示通用类型。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReservedInstanceSpec()
public ReservedInstanceSpec(ReservedInstanceSpec source)
public String getType()
public void setType(String Type)
Type
- 资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v、a10\*pnv4、windows-common、windows-amd,common表示通用类型。public Float getCpu()
public void setCpu(Float Cpu)
Cpu
- 核数public Float getMemory()
public void setMemory(Float Memory)
Memory
- 内存public Float getGpu()
public void setGpu(Float Gpu)
Gpu
- GPU卡数,当Type为GPU类型时设置。Copyright © 2024. All rights reserved.