public class CreateCdsModel extends Object
| Constructor and Description |
|---|
CreateCdsModel() |
public void setEnableDeleteProtection(Boolean enableDeleteProtection)
public Boolean getEnableDeleteProtection()
public int getCdsSizeInGB()
public void setCdsSizeInGB(int cdsSizeInGB)
public CreateCdsModel withCdsSizeInGB(int cdsSizeInGB)
cdsSizeInGB - The size of volume in GB.public String getStorageType()
public void setStorageType(String storageType)
public CreateCdsModel withStorageType(String storageType)
storageType - The storage type of volume, see more detail in
BCE API docpublic void setShareSnapshotId(String shareSnapshotId)
public String getShareSnapshotId()
public String getSnapshotId()
public void setSnapshotId(String snapshotId)
public CreateCdsModel withSnapshotId(String snapshotId)
snapshotId - The id of snapshot.public String getEncryptKey()
public void setEncryptKey(String encryptKey)
public CreateCdsModel withEncryptKey(String encryptKey)
encryptKey - encryption keypublic Boolean getDeleteWithInstance()
public void setDeleteWithInstance(Boolean deleteWithInstance)
public CreateCdsModel withDeleteWithInstanc(Boolean deleteWithInstance)
Copyright © 2026. All rights reserved.