com.baidubce.services.bcc.model.volume
Class ModifyVolumeChargeRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.volume.ModifyVolumeChargeRequest

public class ModifyVolumeChargeRequest
extends AbstractBceRequest

the request for changing volume's billing method


Nested Class Summary
static class ModifyVolumeChargeRequest.ModifyVolumeChargeModel
          internal request class
 
Constructor Summary
ModifyVolumeChargeRequest()
           
 
Method Summary
 String getBillingMethod()
           
 int getReservationLength()
           
 String getVolumeId()
           
 void setBillingMethod(String billingMethod)
           
 void setReservationLength(int reservationLength)
           
 void setVolumeId(String volumeId)
           
 ModifyVolumeChargeRequest.ModifyVolumeChargeModel toModifyVolumeChargeModel()
          convert user request to internal request model
 ModifyVolumeChargeRequest withBillingMethod(String billingMethod)
           
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 ModifyVolumeChargeRequest withReservationLength(int reservationLength)
           
 ModifyVolumeChargeRequest withVolumeId(String volumeId)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyVolumeChargeRequest

public ModifyVolumeChargeRequest()
Method Detail

withVolumeId

public ModifyVolumeChargeRequest withVolumeId(String volumeId)

withBillingMethod

public ModifyVolumeChargeRequest withBillingMethod(String billingMethod)

withReservationLength

public ModifyVolumeChargeRequest withReservationLength(int reservationLength)

getBillingMethod

public String getBillingMethod()

setBillingMethod

public void setBillingMethod(String billingMethod)

getReservationLength

public int getReservationLength()

setReservationLength

public void setReservationLength(int reservationLength)

getVolumeId

public String getVolumeId()

setVolumeId

public void setVolumeId(String volumeId)

withRequestCredentials

public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

toModifyVolumeChargeModel

public ModifyVolumeChargeRequest.ModifyVolumeChargeModel toModifyVolumeChargeModel()
convert user request to internal request model

Returns:
ModifyVolumeChargeModel


Copyright © 2020. All rights reserved.