public class ResourceAmount
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
CPU
Total CPU
example:
100
|
String |
GPU
Total GPU cards
example:
16
|
String |
GPUType
GPU card type
example:
GPU
|
String |
memory
Total memory
example:
100Gi
|
| 构造器和说明 |
|---|
ResourceAmount() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResourceAmount |
build(Map<String,?> map) |
String |
getCPU() |
String |
getGPU() |
String |
getGPUType() |
String |
getMemory() |
ResourceAmount |
setCPU(String CPU) |
ResourceAmount |
setGPU(String GPU) |
ResourceAmount |
setGPUType(String GPUType) |
ResourceAmount |
setMemory(String memory) |
@NameInMap(value="CPU") public String CPU
Total CPU
example:100
@NameInMap(value="GPU") public String GPU
Total GPU cards
example:16
@NameInMap(value="GPUType") public String GPUType
GPU card type
example:GPU
@NameInMap(value="Memory") public String memory
Total memory
example:100Gi
public static ResourceAmount build(Map<String,?> map) throws Exception
Exceptionpublic ResourceAmount setCPU(String CPU)
public String getCPU()
public ResourceAmount setGPU(String GPU)
public String getGPU()
public ResourceAmount setGPUType(String GPUType)
public String getGPUType()
public ResourceAmount setMemory(String memory)
public String getMemory()
Copyright © 2026. All rights reserved.