类 CreateVolumeClusterRequest


  • public class CreateVolumeClusterRequest
    extends AbstractBceRequest
    The request for creating a new volume.
    • 构造器详细资料

      • CreateVolumeClusterRequest

        public CreateVolumeClusterRequest()
    • 方法详细资料

      • getClientToken

        public String getClientToken()
      • setClientToken

        public void setClientToken​(String clientToken)
      • withClientToken

        public CreateVolumeClusterRequest withClientToken​(String clientToken)
        Configure optional client token for the request. The request will be idempotent if client token is provided.
        参数:
        clientToken - An ASCII string whose length is less than 64. See more detail at BCE API doc
        返回:
        CreateVolumeRequest with specific clientToken
      • getPurchaseCount

        public int getPurchaseCount()
      • setPurchaseCount

        public void setPurchaseCount​(int purchaseCount)
      • withPurchaseCount

        public CreateVolumeClusterRequest withPurchaseCount​(int purchaseCount)
        Configure purchaseCount for the request.
        参数:
        purchaseCount - The number of volume to buy, the default value is 1.
        返回:
        CreateVolumeRequest with specific purchaseCount
      • getStorageType

        public String getStorageType()
      • setStorageType

        public void setStorageType​(String storageType)
      • withStorageType

        public CreateVolumeClusterRequest withStorageType​(String storageType)
        Configure storageType for the request.
        参数:
        storageType - The storage type of volume, see more detail in BCE API doc
        返回:
        CreateVolumeRequest with storageType.
      • getBilling

        public Billing getBilling()
      • setBilling

        public void setBilling​(Billing billing)
      • withBilling

        public CreateVolumeClusterRequest withBilling​(Billing billing)
        Configure billing for the request.
        参数:
        billing - The detail model to specify the billing.
        返回:
        CreateVolumeRequest with specific billing
      • getZoneName

        public String getZoneName()
      • setZoneName

        public void setZoneName​(String zoneName)
      • getClusterSizeInGB

        public int getClusterSizeInGB()
      • setClusterSizeInGB

        public void setClusterSizeInGB​(int clusterSizeInGB)
      • getClusterName

        public String getClusterName()
      • setClusterName

        public void setClusterName​(String clusterName)
      • getRenewTimeUnit

        public String getRenewTimeUnit()
      • setRenewTimeUnit

        public void setRenewTimeUnit​(String renewTimeUnit)
      • getRenewTime

        public int getRenewTime()
      • setRenewTime

        public void setRenewTime​(int renewTime)
      • getUuidFlag

        public String getUuidFlag()
      • setUuidFlag

        public void setUuidFlag​(String uuidFlag)