Class GroupResource
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tione.v20211111.models.GroupResource
-
public class GroupResource extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GroupResource()GroupResource(GroupResource 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCpu()Get CPU核数; 单位为1/1000核,比如100表示0.1核LonggetGpu()Get 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。GpuDetail[]getGpuDetailSet()Get Gpu详情 注意:此字段可能返回 null,表示取不到有效值。LonggetMemory()Get 内存;单位为MBvoidsetCpu(Long Cpu)Set CPU核数; 单位为1/1000核,比如100表示0.1核voidsetGpu(Long Gpu)Set 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。voidsetGpuDetailSet(GpuDetail[] GpuDetailSet)Set Gpu详情 注意:此字段可能返回 null,表示取不到有效值。voidsetMemory(Long Memory)Set 内存;单位为MBvoidtoMap(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
-
GroupResource
public GroupResource()
-
GroupResource
public GroupResource(GroupResource 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
-
getCpu
public Long getCpu()
Get CPU核数; 单位为1/1000核,比如100表示0.1核- Returns:
- Cpu CPU核数; 单位为1/1000核,比如100表示0.1核
-
setCpu
public void setCpu(Long Cpu)
Set CPU核数; 单位为1/1000核,比如100表示0.1核- Parameters:
Cpu- CPU核数; 单位为1/1000核,比如100表示0.1核
-
getMemory
public Long getMemory()
Get 内存;单位为MB- Returns:
- Memory 内存;单位为MB
-
setMemory
public void setMemory(Long Memory)
Set 内存;单位为MB- Parameters:
Memory- 内存;单位为MB
-
getGpu
public Long getGpu()
Get 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Gpu 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。
-
setGpu
public void setGpu(Long Gpu)
Set 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Gpu- 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 注意:此字段可能返回 null,表示取不到有效值。
-
getGpuDetailSet
public GpuDetail[] getGpuDetailSet()
Get Gpu详情 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GpuDetailSet Gpu详情 注意:此字段可能返回 null,表示取不到有效值。
-
setGpuDetailSet
public void setGpuDetailSet(GpuDetail[] GpuDetailSet)
Set Gpu详情 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GpuDetailSet- Gpu详情 注意:此字段可能返回 null,表示取不到有效值。
-
-