public class SystemDisk extends AbstractModel
header, skipSign
Constructor and Description |
---|
SystemDisk() |
SystemDisk(SystemDisk 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 |
---|---|
String |
getCdcId()
Get Specifies the exclusive cluster ID it belongs to.
|
String |
getDiskId()
Get Specifies the system disk ID.
|
String |
getDiskName()
Get Disk name, which specifies a length not exceeding 128 characters.
|
Long |
getDiskSize()
Get System disk size; unit: GiB; default value: 50 GiB.
|
String |
getDiskType()
Get Specifies the system disk type.
|
void |
setCdcId(String CdcId)
Set Specifies the exclusive cluster ID it belongs to.
|
void |
setDiskId(String DiskId)
Set Specifies the system disk ID.
|
void |
setDiskName(String DiskName)
Set Disk name, which specifies a length not exceeding 128 characters.
|
void |
setDiskSize(Long DiskSize)
Set System disk size; unit: GiB; default value: 50 GiB.
|
void |
setDiskType(String DiskType)
Set Specifies the system disk type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SystemDisk()
public SystemDisk(SystemDisk source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Specifies the system disk type. for the restrictions on the system disk type, refer to [storage overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). value range:public String getDiskId()
public void setDiskId(String DiskId)
DiskId
- Specifies the system disk ID.
This parameter currently only serves as a response parameter for query apis such as `DescribeInstances`, and cannot be used as an input parameter for write apis such as `RunInstances`.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- System disk size; unit: GiB; default value: 50 GiB.public String getCdcId()
public void setCdcId(String CdcId)
CdcId
- Specifies the exclusive cluster ID it belongs to.public String getDiskName()
public void setDiskName(String DiskName)
DiskName
- Disk name, which specifies a length not exceeding 128 characters.Copyright © 2025. All rights reserved.