类 PurchaseReservedVolumeRequest


  • public class PurchaseReservedVolumeRequest
    extends AbstractBceRequest
    The request for renewing the volume.
    • 构造器详细资料

      • PurchaseReservedVolumeRequest

        public PurchaseReservedVolumeRequest()
    • 方法详细资料

      • getClientToken

        public String getClientToken()
      • setClientToken

        public void setClientToken​(String clientToken)
      • withClientToken

        public PurchaseReservedVolumeRequest withClientToken​(String clientToken)
        Configure optional client token for the request. The request will be idempotent if client token is provided. If the clientToken is not specified by the user, a random String generated by default algorithm will be used.
        参数:
        clientToken - An ASCII string whose length is less than 64. See more detail at BCE API doc
        返回:
        PurchaseReservedVolumeRequest with specific clientToken
      • getVolumeId

        public String getVolumeId()
      • setVolumeId

        public void setVolumeId​(String volumeId)
      • withVolumeId

        public PurchaseReservedVolumeRequest withVolumeId​(String volumeId)
        Configure volumeId for the request.
        参数:
        volumeId - The id of volume which will be renew.
        返回:
        PurchaseReservedVolumeRequest with specific volumeId
      • getBilling

        public Billing getBilling()
      • setBilling

        public void setBilling​(Billing billing)
      • withBilling

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