public class GPUInfo extends AbstractModel
Constructor and Description |
---|
GPUInfo() |
GPUInfo(GPUInfo 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 |
getGPUCount()
Get 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
注意:此字段可能返回 null,表示取不到有效值。
|
String[] |
getGPUId()
Get 实例GPU地址。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getGPUType()
Get 实例GPU类型。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGPUCount(Float GPUCount)
Set 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGPUId(String[] GPUId)
Set 实例GPU地址。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGPUType(String GPUType)
Set 实例GPU类型。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public GPUInfo()
public GPUInfo(GPUInfo source)
public Float getGPUCount()
public void setGPUCount(Float GPUCount)
GPUCount
- 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
注意:此字段可能返回 null,表示取不到有效值。public String[] getGPUId()
public void setGPUId(String[] GPUId)
GPUId
- 实例GPU地址。
注意:此字段可能返回 null,表示取不到有效值。public String getGPUType()
public void setGPUType(String GPUType)
GPUType
- 实例GPU类型。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.