public class ResourceAmount
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
CPU
Total CPU
example:
100
|
String |
GPU
Total GPU cards
example:
16
|
String |
GPUMemory
example:
80G
|
Long |
GPUMemoryBytes
example:
85899345920
|
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 |
getGPUMemory() |
Long |
getGPUMemoryBytes() |
String |
getGPUType() |
String |
getMemory() |
ResourceAmount |
setCPU(String CPU) |
ResourceAmount |
setGPU(String GPU) |
ResourceAmount |
setGPUMemory(String GPUMemory) |
ResourceAmount |
setGPUMemoryBytes(Long GPUMemoryBytes) |
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="GPUMemory") public String GPUMemory
80G
@NameInMap(value="GPUMemoryBytes") public Long GPUMemoryBytes
85899345920
@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 setGPUMemory(String GPUMemory)
public String getGPUMemory()
public ResourceAmount setGPUMemoryBytes(Long GPUMemoryBytes)
public Long getGPUMemoryBytes()
public ResourceAmount setGPUType(String GPUType)
public String getGPUType()
public ResourceAmount setMemory(String memory)
public String getMemory()
Copyright © 2026. All rights reserved.