public class CreateCdsModel extends Object
| Constructor and Description |
|---|
CreateCdsModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCdsSizeInGB() |
String |
getEncryptKey() |
String |
getSnapshotId() |
String |
getStorageType() |
void |
setCdsSizeInGB(int cdsSizeInGB) |
void |
setEncryptKey(String encryptKey) |
void |
setSnapshotId(String snapshotId) |
void |
setStorageType(String storageType) |
String |
toString() |
CreateCdsModel |
withCdsSizeInGB(int cdsSizeInGB)
Configure cdsSizeInGB for the model.
|
CreateCdsModel |
withEncryptKey(String encryptKey)
Configure encryptKey for the model.
|
CreateCdsModel |
withSnapshotId(String snapshotId)
Configure snapshotId for the model.
|
CreateCdsModel |
withStorageType(String storageType)
Configure storageType for the model.
|
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 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 keyCopyright © 2024. All rights reserved.