public class CreateVolumeClusterRequest extends AbstractBceRequest
| Constructor and Description |
|---|
CreateVolumeClusterRequest() |
getRequestCredentials, setRequestCredentialspublic String getClientToken()
public void setClientToken(String clientToken)
public CreateVolumeClusterRequest withClientToken(String clientToken)
clientToken - An ASCII string whose length is less than 64.
See more detail at
BCE API docpublic int getPurchaseCount()
public void setPurchaseCount(int purchaseCount)
public CreateVolumeClusterRequest withPurchaseCount(int purchaseCount)
purchaseCount - The number of volume to buy, the default value is 1.public String getStorageType()
public void setStorageType(String storageType)
public CreateVolumeClusterRequest withStorageType(String storageType)
storageType - The storage type of volume, see more detail in
BCE API docpublic Billing getBilling()
public void setBilling(Billing billing)
public CreateVolumeClusterRequest withBilling(Billing billing)
billing - The detail model to specify the billing.public String getZoneName()
public void setZoneName(String zoneName)
public CreateVolumeClusterRequest withZoneName(String zoneName)
public int getClusterSizeInGB()
public void setClusterSizeInGB(int clusterSizeInGB)
public String getClusterName()
public void setClusterName(String clusterName)
public String getRenewTimeUnit()
public void setRenewTimeUnit(String renewTimeUnit)
public int getRenewTime()
public void setRenewTime(int renewTime)
public String getUuidFlag()
public void setUuidFlag(String uuidFlag)
public CreateVolumeClusterRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2024. All rights reserved.