Class PersistentVolumeContext
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.PersistentVolumeContext
-
public class PersistentVolumeContext extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PersistentVolumeContext()PersistentVolumeContext(PersistentVolumeContext 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 LonggetDiskNum()Get 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。LonggetDiskSize()Get 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。StringgetDiskType()Get 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskNum(Long DiskNum)Set 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskSize(Long DiskSize)Set 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskType(String DiskType)Set 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 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
-
PersistentVolumeContext
public PersistentVolumeContext()
-
PersistentVolumeContext
public PersistentVolumeContext(PersistentVolumeContext 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
-
getDiskSize
public Long getDiskSize()
Get 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskSize 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskSize
public void setDiskSize(Long DiskSize)
Set 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskSize- 磁盘大小,单位为GB。 注意:此字段可能返回 null,表示取不到有效值。
-
getDiskType
public String getDiskType()
Get 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskType 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskType
public void setDiskType(String DiskType)
Set 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskType- 磁盘类型。CLOUD_PREMIUM;CLOUD_SSD 注意:此字段可能返回 null,表示取不到有效值。
-
getDiskNum
public Long getDiskNum()
Get 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskNum 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskNum
public void setDiskNum(Long DiskNum)
Set 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskNum- 磁盘数量 注意:此字段可能返回 null,表示取不到有效值。
-
-