com.baidubce.services.bcc.model.volume
Class ModifyVolumeChargeRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.volume.ModifyVolumeChargeRequest
public class ModifyVolumeChargeRequest
- extends AbstractBceRequest
the request for changing volume's billing method
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyVolumeChargeRequest
public ModifyVolumeChargeRequest()
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.