Class GPUInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.GPUInfo
-
public class GPUInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetGPUCount()Get 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。String[]getGPUId()Get 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。StringgetGPUType()Get 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。voidsetGPUCount(Float GPUCount)Set 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。voidsetGPUId(String[] GPUId)Set 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。voidsetGPUType(String GPUType)Set 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
GPUInfo
public GPUInfo()
-
GPUInfo
public 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.
-
-
Method Detail
-
getGPUCount
public Float getGPUCount()
Get 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GPUCount 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。
-
setGPUCount
public void setGPUCount(Float GPUCount)
Set 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GPUCount- 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。 注意:此字段可能返回 null,表示取不到有效值。
-
getGPUId
public String[] getGPUId()
Get 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GPUId 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。
-
setGPUId
public void setGPUId(String[] GPUId)
Set 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GPUId- 实例GPU地址。 注意:此字段可能返回 null,表示取不到有效值。
-
getGPUType
public String getGPUType()
Get 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GPUType 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。
-
setGPUType
public void setGPUType(String GPUType)
Set 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GPUType- 实例GPU类型。 注意:此字段可能返回 null,表示取不到有效值。
-
-