|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.bcc.model.CreateCdsModel
public class CreateCdsModel
The model which will be used in purchasing new volume.
| Constructor Summary | |
|---|---|
CreateCdsModel()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateCdsModel()
| Method Detail |
|---|
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 doc
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 key
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||