Class StorageBlock
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.StorageBlock
-
public class StorageBlock extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description StorageBlock()
StorageBlock(StorageBlock 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 Long
getMaxSize()
Get HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。Long
getMinSize()
Get HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。String
getType()
Get HDD本地存储类型,值为:LOCAL_PRO.void
setMaxSize(Long MaxSize)
Set HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。void
setMinSize(Long MinSize)
Set HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。void
setType(String Type)
Set HDD本地存储类型,值为:LOCAL_PRO.void
toMap(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
-
StorageBlock
public StorageBlock()
-
StorageBlock
public StorageBlock(StorageBlock 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
-
getType
public String getType()
Get HDD本地存储类型,值为:LOCAL_PRO. 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Type HDD本地存储类型,值为:LOCAL_PRO. 注意:此字段可能返回 null,表示取不到有效值。
-
setType
public void setType(String Type)
Set HDD本地存储类型,值为:LOCAL_PRO. 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Type
- HDD本地存储类型,值为:LOCAL_PRO. 注意:此字段可能返回 null,表示取不到有效值。
-
getMinSize
public Long getMinSize()
Get HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MinSize HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。
-
setMinSize
public void setMinSize(Long MinSize)
Set HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MinSize
- HDD本地存储的最小容量 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxSize
public Long getMaxSize()
Get HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxSize HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxSize
public void setMaxSize(Long MaxSize)
Set HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxSize
- HDD本地存储的最大容量 注意:此字段可能返回 null,表示取不到有效值。
-
-