public class ResourceAmount
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
CPU
example:
100
|
String |
GPU
example:
16
|
String |
GPUType
example:
GPU
|
String |
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
100
@NameInMap(value="GPU") public String GPU
16
@NameInMap(value="GPUType") public String GPUType
GPU
@NameInMap(value="Memory") public String memory
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 © 2024. All rights reserved.